aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/pcbc.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-10-17 09:45:41 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-10-19 09:20:23 +0100
commit1d7cfea152cae6159aa30ceae38c3eaf13ea083c (patch)
treef9d8b2536555c3a5af75d461f16d7374af988cf8 /crypto/pcbc.c
parent139d363bcf2d995a72694ddd2b8665af6cb7fb54 (diff)
downloadlinux-1d7cfea152cae6159aa30ceae38c3eaf13ea083c.tar.gz
drm/i915: Do interrupible mutex lock first to avoid locking for unreference
One of the primarily consumers of the i915 driver is X, a large signal driven application. Frequently when writing into the buffers, there is a pending signal which causes us not to take the interruptible lock but then we need to take that same lock around the object unreference. By rearranging the code to do the interruptible lock as the first check, we can avoid the frequent additional locking around the unreference. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'crypto/pcbc.c')
0 files changed, 0 insertions, 0 deletions