From: Chris Wilson Date: Thu, 28 Oct 2010 12:45:36 +0000 (+0100) Subject: drm/i915: Eliminate nested get/put pages X-Git-Tag: v2.6.38-rc1~419^2~23^2~154 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5281ccd2e0049e2b9e8ce82449630d25082372d;p=pandora-kernel.git drm/i915: Eliminate nested get/put pages By using read_cache_page() for individual pages during pwrite/pread we can eliminate an unnecessary large allocation (and immediate free) of obj->pages. Also this eliminates any potential nesting of get/put pages, simplifying the code and preparing the path for greater things. Signed-off-by: Chris Wilson --- Reading git-diff-tree failed