aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorChris Metcalf <[email protected]>2015-09-08 15:02:12 -0700
committerLinus Torvalds <[email protected]>2015-09-08 15:35:28 -0700
commit1b4ace4141db1ddc46f6c9915086dd5e18d7154d (patch)
treeb76bfc0fddf6ab377647b0094c70eee83d2365b8 /tools/perf/scripts/python/futex-contention.py
parentc5b4e1b02f2a0c2309ecd58a235a2f5ee4eb0074 (diff)
bootmem: avoid freeing to bootmem after bootmem is done
Bootmem isn't popular any more, but some architectures still use it, and freeing to bootmem after calling free_all_bootmem_core() can end up scribbling over random memory. Instead, make sure the kernel generates a warning in this case by ensuring the node_bootmem_map field is non-NULL when are freeing or marking bootmem. An instance of this bug was just fixed in the tile architecture ("tile: use free_bootmem_late() for initrd") and catching this case more widely seems like a good thing. Signed-off-by: Chris Metcalf <[email protected]> Acked-by: Mel Gorman <[email protected]> Cc: Yasuaki Ishimatsu <[email protected]> Cc: Pekka Enberg <[email protected]> Cc: Paul McQuade <[email protected]> Cc: Tang Chen <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions