diff options
author | Peter Zijlstra <[email protected]> | 2016-10-07 17:43:51 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-11-15 14:19:55 +0100 |
commit | 0f5225b024d4bffd682aab008c35862e8fdc1865 (patch) | |
tree | a5202d5cdb071b3060975c4bd4c1c3f56c792edc /arch/nios2/include/asm/processor.h | |
parent | 83f06168ef15da5dc735c7ea14fae67609ed9538 (diff) |
locking/mutex, drm: Introduce mutex_trylock_recursive()
By popular DRM demand, introduce mutex_trylock_recursive() to fix up the
two GEM users.
Without this it is very easy for these drivers to get stuck in
low-memory situations and trigger OOM. Work is in progress to remove the
need for this in at least i915.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: Ding Tianhong <[email protected]>
Cc: Imre Deak <[email protected]>
Cc: Jason Low <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Rob Clark <[email protected]>
Cc: Terry Rudd <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Tim Chen <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'arch/nios2/include/asm/processor.h')
0 files changed, 0 insertions, 0 deletions