summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-max6902.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-08-05 12:14:07 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2016-08-05 12:54:34 +0300
commitb8f9096d6a51e3ac31deb0f57a9a323059bb4281 (patch)
tree87f367f7edfb4dc91ef6277fec2d94cbadd65595 /drivers/rtc/rtc-max6902.c
parent2467658e2de3ca1dee6688b6b0b6f48263dfd532 (diff)
downloadlinux-b8f9096d6a51e3ac31deb0f57a9a323059bb4281.tar.xz
drm/i915: Convert non-blocking waits for requests over to using RCU
We can completely avoid taking the struct_mutex around the non-blocking waits by switching over to the RCU request management (trading the mutex for a RCU read lock and some complex atomic operations). The improvement is that we gain further contention reduction, and overall the code become simpler due to the reduced mutex dancing. v2: Move i915_gem_fault tracepoint back to the start of the function, before the unlocked wait. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1470388464-28458-2-git-send-email-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/rtc/rtc-max6902.c')
0 files changed, 0 insertions, 0 deletions