aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2017-12-23 19:45:11 +0100
committerThomas Gleixner <[email protected]>2017-12-23 20:18:42 +0100
commitf6c4fd506cb626e4346aa81688f255e593a7c5a0 (patch)
tree51356ab92d31c42e817b02ded05fe2dad0d17a81 /tools/perf/scripts/python/export-to-postgresql.py
parent613e396bc0d4c7604fba23256644e78454c68cf6 (diff)
x86/cpu_entry_area: Prevent wraparound in setup_cpu_entry_area_ptes() on 32bit
The loop which populates the CPU entry area PMDs can wrap around on 32bit machines when the number of CPUs is small. It worked wonderful for NR_CPUS=64 for whatever reason and the moron who wrote that code did not bother to test it with !SMP. Check for the wraparound to fix it. Fixes: 92a0f81d8957 ("x86/cpu_entry_area: Move it out of the fixmap") Reported-by: kernel test robot <[email protected]> Signed-off-by: Thomas "Feels stupid" Gleixner <[email protected]> Tested-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions