]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2b4c245fc7961087888a871502bfe6276e882367
tree50757627f2cb424548fa4af48552facade94cab3
parent46b6a97e356b846246ec40663e2dece604ad4f88
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