aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorDoug Berger <[email protected]>2019-07-01 17:50:11 +0000
committerRussell King <[email protected]>2019-08-23 10:32:36 +0000
commitc51bc12d06b3a5494fbfcbd788a8e307932a06e9 (patch)
tree1be152722286130b0930674e5110f9492d088b6b /tools/perf/scripts/python/net_dropmonitor.py
parentLinux 5.3-rc5 (diff)
downloadkernel-c51bc12d06b3a5494fbfcbd788a8e307932a06e9.tar.gz
kernel-c51bc12d06b3a5494fbfcbd788a8e307932a06e9.zip
ARM: 8874/1: mm: only adjust sections of valid mm structures
A timing hazard exists when an early fork/exec thread begins exiting and sets its mm pointer to NULL while a separate core tries to update the section information. This commit ensures that the mm pointer is not NULL before setting its section parameters. The arguments provided by commit 11ce4b33aedc ("ARM: 8672/1: mm: remove tasklist locking from update_sections_early()") are equally valid for not requiring grabbing the task_lock around this check. Fixes: 08925c2f124f ("ARM: 8464/1: Update all mm structures with section adjustments") Signed-off-by: Doug Berger <[email protected]> Acked-by: Laura Abbott <[email protected]> Cc: Mike Rapoport <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Florian Fainelli <[email protected]> Cc: Rob Herring <[email protected]> Cc: "Steven Rostedt (VMware)" <[email protected]> Cc: Peng Fan <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions