]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - kernel/softirq.c
mm: compaction: Use async migration for __GFP_NO_KSWAPD and enforce no writeback
[mv-sheeva.git] / kernel / softirq.c
index 56e5dec837f05bd28f90221e2f0b666af23378c9..735d8709517228195b8a95f737bf555e7de712c3 100644 (file)
@@ -845,7 +845,10 @@ static int __cpuinit cpu_callback(struct notifier_block *nfb,
        switch (action) {
        case CPU_UP_PREPARE:
        case CPU_UP_PREPARE_FROZEN:
-               p = kthread_create(run_ksoftirqd, hcpu, "ksoftirqd/%d", hotcpu);
+               p = kthread_create_on_node(run_ksoftirqd,
+                                          hcpu,
+                                          cpu_to_node(hotcpu),
+                                          "ksoftirqd/%d", hotcpu);
                if (IS_ERR(p)) {
                        printk("ksoftirqd for %i failed\n", hotcpu);
                        return notifier_from_errno(PTR_ERR(p));