diff options
author | Dennis Zhou <[email protected]> | 2024-10-07 17:19:42 -0700 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-11-06 20:11:11 -0800 |
commit | 018d24539d9ed7531245a381ba24f5d9e8714682 (patch) | |
tree | 97e5b9de1f08d65dfedcfbb2aa1451f06e5ee838 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | bd40b053fabe27209cb240d205a0c817cbe5fb87 (diff) |
percpu: fix data race with pcpu_nr_empty_pop_pages
Fixes the data race by moving the read to be behind the pcpu_lock. This
is okay because the code (initially) above it will not increase the
empty populated page count because it is populating backing pages that
already have allocations served out of them.
Link: https://lkml.kernel.org/r/[email protected]
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-lkp/[email protected]
Signed-off-by: Dennis Zhou <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Tejun Heo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions