drm/i915: mark pwrite/pread slowpaths with unlikely
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 25 Mar 2012 17:47:43 +0000 (19:47 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Mar 2012 11:41:41 +0000 (13:41 +0200)
commite7e58eb5c0d1d7d1a42fcb2b5a247d28ec08b47e
tree50757627f2cb424548fa4af48552facade94cab3
parent23c18c71da801fb7ce11acc3041e4f10a1bb5cb0
drm/i915: mark pwrite/pread slowpaths with unlikely

Beside helping the compiler untangle this maze they double-up as
documentation for which parts of the code aren't performance-critical
but just around to keep old (but already dead-slow) userspace from
breaking.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c