[Intel-gfx] [PATCH 24/30] drm/i915: Refactor pwrite/pread to use single copy of get_user_pages

Eric Anholt eric at anholt.net
Wed Apr 13 17:59:55 CEST 2011


On Tue, 12 Apr 2011 21:31:52 +0100, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> Replace the three nearly identical copies of the code with a single
> function. And take advantage of the opportunity to do some
> micro-optimisation: avoid the vmalloc if at all possible and also avoid
> dropping the lock unless we are forced to acquire the mm semaphore.

Could we get some performance numbers in patches that add code for
performance?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20110413/9da049ed/attachment.sig>


More information about the Intel-gfx mailing list