From: Eric Anholt Date: Fri, 20 Mar 2009 01:56:14 +0000 (-0700) Subject: drm: Use a little stash on the stack to avoid kmalloc in most DRM ioctls. X-Git-Tag: v2.6.30-rc1~613^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=955a23eb3cfc773e71b05bb7a0a0938a9e1b2568;p=pandora-kernel.git drm: Use a little stash on the stack to avoid kmalloc in most DRM ioctls. The kmalloc was taking up about 1.5% of the CPU on an ioctl-heavy workload (x11perf -aa10text on 965). Initial results look like they have a corresponding improvement in performance for aa10text, but more numbers might not hurt. Thanks to ajax for pointing out this performance regression I'd introduced back in 2007. [airlied: well I introduced it sneakily inside Eric's patch] Signed-off-by: Eric Anholt Signed-off-by: Dave Airlie --- Reading git-diff-tree failed