diff options
author | Rusty Russell <[email protected]> | 2009-12-02 14:09:16 +1030 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-12-02 10:27:16 +0100 |
commit | bdddd2963c0264c56f18043f6fa829d3c1d3d1c0 (patch) | |
tree | b3d886be91ddcf99e3b83c120aedebb840ff75df /tools/perf/scripts/python/check-perf-trace.py | |
parent | 8592e6486a177a02f048567cb928bc3a1f9a86c3 (diff) |
sched: Fix isolcpus boot option
Anton Blanchard wrote:
> We allocate and zero cpu_isolated_map after the isolcpus
> __setup option has run. This means cpu_isolated_map always
> ends up empty and if CPUMASK_OFFSTACK is enabled we write to a
> cpumask that hasn't been allocated.
I introduced this regression in 49557e620339cb13 (sched: Fix
boot crash by zalloc()ing most of the cpu masks).
Use the bootmem allocator if they set isolcpus=, otherwise
allocate and zero like normal.
Reported-by: Anton Blanchard <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
Cc: [email protected]
Cc: Linus Torvalds <[email protected]>
Cc: <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Tested-by: Anton Blanchard <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions