diff options
author | Christophe JAILLET <[email protected]> | 2017-11-17 15:27:32 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-11-17 16:10:01 -0800 |
commit | 8c703d660450c4df72ff24f79a335dc7973a9dc8 (patch) | |
tree | e7eecbd614bbd2548d82ba66b5b28cb7e7840bf6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4ca59b14e588f873795a11cdc77a25c686a29d23 (diff) |
kernel/umh.c: optimize 'proc_cap_handler()'
If 'write' is 0, we can avoid a call to spin_lock/spin_unlock.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Christophe JAILLET <[email protected]>
Acked-by: Luis R. Rodriguez <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions