aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorAlex Thorlton <[email protected]>2014-12-18 12:44:30 -0600
committerIngo Molnar <[email protected]>2014-12-23 11:43:48 +0100
commitb74e6278fd6db5848163ccdc6e9d8eb6efdee9bd (patch)
tree912409011e17c43a33a1f08e40c871b903697b1f /tools/perf/scripts/python/call-graph-from-postgresql.py
parentaa39477b5692611b91ac9455ae588738852b3f60 (diff)
sched: Fix KMALLOC_MAX_SIZE overflow during cpumask allocation
When allocating space for load_balance_mask, in sched_init, when CPUMASK_OFFSTACK is set, we've managed to spill over KMALLOC_MAX_SIZE on our 6144 core machine. The patch below breaks up the allocations so that they don't overflow the max alloc size. It also allocates the masks on the the node from which they'll most commonly be accessed, to minimize remote accesses on NUMA machines. Suggested-by: George Beshers <[email protected]> Signed-off-by: Alex Thorlton <[email protected]> Cc: George Beshers <[email protected]> Cc: Russ Anderson <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Linus Torvalds <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions