aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorKirill A. Shutemov <[email protected]>2014-08-06 16:08:05 -0700
committerLinus Torvalds <[email protected]>2014-08-06 18:01:22 -0700
commitaecd6f44266c13b8709245b21ded2d19291ab070 (patch)
tree805e451bb46a2d6091db0d9e23c7f11422aa4121 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent2ab051e11bfa3cbb7b24177f3d6aaed10a0d743e (diff)
mm: close race between do_fault_around() and fault_around_bytes_set()
Things can go wrong if fault_around_bytes will be changed under do_fault_around(): between fault_around_mask() and fault_around_pages(). Let's read fault_around_bytes only once during do_fault_around() and calculate mask based on the reading. Note: fault_around_bytes can only be updated via debug interface. Also I've tried but was not able to trigger a bad behaviour without the patch. So I would not consider this patch as urgent. Signed-off-by: Kirill A. Shutemov <[email protected]> Cc: Dave Hansen <[email protected]> Cc: Andrey Ryabinin <[email protected]> Cc: Sasha Levin <[email protected]> Cc: David Rientjes <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions