aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorDavid Rientjes <[email protected]>2009-12-14 17:59:46 -0800
committerLinus Torvalds <[email protected]>2009-12-15 08:53:20 -0800
commit9ae49fab239fb49de92a657c7426271e0793c4e1 (patch)
tree156f78df3db4dbc408f6839febe7adba148c2c9f /tools/perf/scripts
parentcaed0f486e582eeeb6e3546417fd758230fe4ad9 (diff)
mm: slab-allocate memory section nodemask for large systems
Nodemasks should not be allocated on the stack for large systems (when it is larger than 256 bytes) since there is a threat of overflow. This patch causes the unregister_mem_sect_under_nodes() nodemask to be allocated on the stack for smaller systems and be allocated by slab for larger systems. GFP_KERNEL is used since remove_memory_block() can block. Cc: Gary Hade <[email protected]> Cc: Badari Pulavarty <[email protected]> Cc: Alex Chiang <[email protected]> Signed-off-by: David Rientjes <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions