diff options
| author | Alexey Dobriyan <[email protected]> | 2019-05-14 22:44:37 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-05-15 02:52:50 +0000 |
| commit | d53ddd0181d1c284c28c0d70a3d7039db41c6f7e (patch) | |
| tree | 9c7845ae24e6235ed6bb7a054bf2c619e51aed6a /tools/testing/selftests/exec/recursion-depth.c | |
| parent | kernel/signal.c: annotate implicit fall through (diff) | |
| download | kernel-d53ddd0181d1c284c28c0d70a3d7039db41c6f7e.tar.gz kernel-d53ddd0181d1c284c28c0d70a3d7039db41c6f7e.zip | |
fs/exec.c: move ->recursion_depth out of critical sections
->recursion_depth is changed only by current, therefore decrementing can
be done without taking any locks.
Link: http://lkml.kernel.org/r/20190417213150.GA26474@avx2
Signed-off-by: Alexey Dobriyan <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/testing/selftests/exec/recursion-depth.c')
0 files changed, 0 insertions, 0 deletions
