diff options
author | 2013-03-26 11:35:16 -0400 | |
---|---|---|
committer | 2013-05-15 10:41:12 -0700 | |
commit | 615ee5443ff9bedd356dc6865f3e9c276ce434ea (patch) | |
tree | 19f437a4d527a5b54f4337eb75029840f7765962 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | rcu: Fix comparison sense in rcu_needs_cpu() (diff) | |
download | wireguard-linux-615ee5443ff9bedd356dc6865f3e9c276ce434ea.tar.xz wireguard-linux-615ee5443ff9bedd356dc6865f3e9c276ce434ea.zip |
rcu: Don't allocate bootmem from rcu_init()
When rcu_init() is called we already have slab working, allocating
bootmem at that point results in warnings and an allocation from
slab. This commit therefore changes alloc_bootmem_cpumask_var() to
alloc_cpumask_var() in rcu_bootup_announce_oddness(), which is called
from rcu_init().
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Tested-by: Robin Holt <holt@sgi.com>
[paulmck: convert to zalloc_cpumask_var(), as suggested by Yinghai Lu.]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions