diff options
author | Alex Thorlton <[email protected]> | 2014-12-18 12:44:30 -0600 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-12-23 11:43:48 +0100 |
commit | b74e6278fd6db5848163ccdc6e9d8eb6efdee9bd (patch) | |
tree | 912409011e17c43a33a1f08e40c871b903697b1f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | aa39477b5692611b91ac9455ae588738852b3f60 (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