summaryrefslogtreecommitdiff
path: root/net/rds/rds.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-14 22:02:42 (GMT)
committerDave Airlie <airlied@redhat.com>2013-08-21 02:53:46 (GMT)
commitbdf655de47b0d17ee2efc3bea5f617445ff77adc (patch)
tree90a2ad1bff0cb718967a151ef735d1d15565210a /net/rds/rds.h
parent4332bf438bbbc31319abed61d2ac6d9932ff980c (diff)
downloadlinux-bdf655de47b0d17ee2efc3bea5f617445ff77adc.tar.xz
drm/prime: shrink critical section protected by prime lock
When exporting a gem object as a dma-buf the critical section for the per-fd prime lock is just the adding (and in case of errors, removing) of the handle to the per-fd lookup cache. So restrict the critical section to just that part of the function. This simplifies later reordering. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'net/rds/rds.h')
0 files changed, 0 insertions, 0 deletions