diff options
author | Ingo Molnar <[email protected]> | 2016-02-08 12:14:55 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-02-08 12:14:55 +0100 |
commit | 5f7ee246850ba18a6a7bcb3d5eddb6db68354688 (patch) | |
tree | ae392d408cd49b912aab0b420cc3de89d7a176b7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c1a0bf347c40dd4b0a5bb10fdf4de76a1fbbbe8c (diff) |
x86/mm/numa: Check for failures in numa_clear_kernel_node_hotplug()
numa_clear_kernel_node_hotplug() uses memblock_set_node() without
checking for failures.
memblock_set_node() is a complex function that might extend the
memblock array - which extension might fail - so check for this
possibility.
It's not supposed to happen (because realistically if we have so
little memory that this fails then we likely won't be able to
boot anyway), but do the check nevertheless.
Cc: Andrew Morton <[email protected]>
Cc: Brad Spengler <[email protected]>
Cc: Chen Tang <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Lai Jiangshan <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: PaX Team <[email protected]>
Cc: Taku Izumi <[email protected]>
Cc: Tang Chen <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Wen Congyang <[email protected]>
Cc: Yasuaki Ishimatsu <[email protected]>
Cc: y14sg1 <[email protected]>
Cc: Zhang Yanfei <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions