diff options
author | Tejun Heo <[email protected]> | 2011-02-16 17:11:09 +0100 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2011-02-16 17:11:09 +0100 |
commit | 56e827fbde9a3cb886a2fe138db0d99e98efbfb1 (patch) | |
tree | 1a5eb3631d847669179ffd97b5274dd70405c931 /lib/debugobjects.c | |
parent | 2e756be44714d0ec2f9827e4f4797c60876167a1 (diff) |
x86-64, NUMA: consolidate and improve memblk sanity checks
memblk sanity check was scattered around and incomplete. Consolidate
and improve.
* Confliction detection and cutoff_node() logic are moved to
numa_cleanup_meminfo().
* numa_cleanup_meminfo() clears the unused memblks before returning.
* Check and warn about invalid input parameters in numa_add_memblk().
* Check the maximum number of memblk isn't exceeded in
numa_add_memblk().
* numa_cleanup_meminfo() is now called before numa_emulation() so that
the emulation code also uses the cleaned up version.
Signed-off-by: Tejun Heo <[email protected]>
Cc: Yinghai Lu <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Cyrill Gorcunov <[email protected]>
Cc: Shaohui Zheng <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions