From: Chris Wilson Date: Thu, 14 Oct 2010 11:10:41 +0000 (+0100) Subject: drm/i915: Avoid vmallocing a buffer for the relocations X-Git-Tag: v2.6.37-rc1~92^2~11^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2549d6c26ce1c85a76990b972a2c7e8f440455cd;p=pandora-kernel.git drm/i915: Avoid vmallocing a buffer for the relocations ... perform an access validation check up front instead and copy them in on-demand, during i915_gem_object_pin_and_relocate(). As around 20% of the CPU overhead may be spent inside vmalloc for the relocation entries when submitting an execbuffer [for x11perf -aa10text], the savings are considerable and result in around a 10% throughput increase [for glyphs]. Signed-off-by: Chris Wilson --- Reading git-diff-tree failed