summaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-04-15 05:10:41 (GMT)
committerDave Airlie <airlied@redhat.com>2016-04-22 00:43:24 (GMT)
commit2ddea3fd94889331855ff311ff540e0b182dd216 (patch)
tree77ac4c98098f1d0f765124b438627c8e2ae34503 /arch/powerpc/lib/code-patching.c
parent72fe90b8e72e3f759164d2b4b5c60617a8a1a93e (diff)
downloadlinux-2ddea3fd94889331855ff311ff540e0b182dd216.tar.xz
drm/modes: reduce fb_lock to just protecting lists
This reduces the fb_lock to just protecting the num_fb/fb_list. "Previously fb refcounting, and especially the weak reference (kref_get_unless_zero) used in fb lookups have been protected by fb_lock. But with the refactoring to share refcounting in the drm_mode_object base class that switched to being protected by idr_mutex, which means fb_lock critical sections can be reduced." Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions