[RFC PATCH v1 40/70] mm, slub: _FROZEN Cleanup

From: Chen, Gong
Date: Tue Jul 22 2014 - 22:36:04 EST


Remove XXX_FROZEN state from mm/slub.

Signed-off-by: Chen, Gong <gong.chen@xxxxxxxxxxxxxxx>
---
mm/slub.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/mm/slub.c b/mm/slub.c
index 7300480..0504f6b 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -3796,11 +3796,9 @@ static int slab_cpuup_callback(struct notifier_block *nfb,
struct kmem_cache *s;
unsigned long flags;

- switch (action) {
+ switch (action & ~CPU_TASKS_FROZEN) {
case CPU_UP_CANCELED:
- case CPU_UP_CANCELED_FROZEN:
case CPU_DEAD:
- case CPU_DEAD_FROZEN:
mutex_lock(&slab_mutex);
list_for_each_entry(s, &slab_caches, list) {
local_irq_save(flags);
--
2.0.0.rc2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/