btrfs: use mutex in btrfs_resume_balance_async
[sfrench/cifs-2.6.git] / mm / slab.c
index e3a9b8e2330642e98755ad12b6b722957fbea78c..2f308253c3d7689c677dbdc0b8dd7a686689bb7b 100644 (file)
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -4086,7 +4086,8 @@ next:
        next_reap_node();
 out:
        /* Set up the next iteration */
-       schedule_delayed_work(work, round_jiffies_relative(REAPTIMEOUT_AC));
+       schedule_delayed_work_on(smp_processor_id(), work,
+                               round_jiffies_relative(REAPTIMEOUT_AC));
 }
 
 void get_slabinfo(struct kmem_cache *cachep, struct slabinfo *sinfo)