aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorAnna-Maria Gleixner <[email protected]>2018-08-21 21:55:42 -0700
committerLinus Torvalds <[email protected]>2018-08-22 10:52:47 -0700
commitce0a568d327968367f294ea2425fe2c6f4f33ed2 (patch)
tree2c9d314854c059bfed32d69267691bb00d8f2e7a /scripts/patch-kernel
parentfc37191272a972d449bab3d8247cf52cadf5d4e6 (diff)
userns: use irqsave variant of refcount_dec_and_lock()
The irqsave variant of refcount_dec_and_lock handles irqsave/restore when taking/releasing the spin lock. With this variant the call of local_irq_save/restore is no longer required. [[email protected]: s@atomic_dec_and_lock@refcount_dec_and_lock@g] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Anna-Maria Gleixner <[email protected]> Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Cc: "Eric W. Biederman" <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Thomas Gleixner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions