diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2010-10-25 16:10:12 +0200 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2010-10-25 16:10:15 +0200 |
commit | 6931be0803ddae2791f3c646c8e1e0f82ca26013 (patch) | |
tree | 56bec1c2155be70d4202c4096fbb5eca0fad1bac /mm/compaction.c | |
parent | [S390] lockless get_user_pages_fast() (diff) | |
download | linux-6931be0803ddae2791f3c646c8e1e0f82ca26013.tar.xz linux-6931be0803ddae2791f3c646c8e1e0f82ca26013.zip |
[S390] cpu hotplug/idle: move cpu_die call to enabled context
There is no difference if cpu_die is called from enabled or disabled
context. Except that the fast_gup code might be called via
cpu_die -> idle_task_exit -> __mm_drop -> crst_table_free. Which in
turn grabs and releases a spinlock using the _bh ops, which is not
allowed in irq disabled context, since spin_unlock_bh will
unconditionally enable interrupts again.
To get rid of the warning emitted by the softirq code just move the
code to enabled context.
In this case this doesn't fix a bug, we just get rid of a warning.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'mm/compaction.c')
0 files changed, 0 insertions, 0 deletions