diff options
| author | Alexey Dobriyan <[email protected]> | 2019-12-04 16:49:59 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-12-04 19:44:11 -0800 |
| commit | e06689bf57017ac022ccf0f2a5071f760821ce0f (patch) | |
| tree | aa9df3db0c69d35019a5436fb78e205d53e8e7e3 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 3cde287bb4769fe9dfc9c532ddc88d90e81bc4c5 (diff) | |
proc: change ->nlink under proc_subdir_lock
Currently gluing PDE into global /proc tree is done under lock, but
changing ->nlink is not. Additionally struct proc_dir_entry::nlink is
not atomic so updates can be lost.
Link: http://lkml.kernel.org/r/20190925202436.GA17388@avx2
Signed-off-by: Alexey Dobriyan <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions