Freezer: make kernel threads nonfreezable by default
[deliverable/linux.git] / kernel / sched.c
index 1c8076676eb1c99bb3ea325a4ac10b18a2caeeee..cb31fb4a1379e23b0628795d5e1bfd64c6031bf0 100644 (file)
@@ -4912,8 +4912,6 @@ static int migration_thread(void *data)
                struct migration_req *req;
                struct list_head *head;
 
-               try_to_freeze();
-
                spin_lock_irq(&rq->lock);
 
                if (cpu_is_offline(cpu)) {
@@ -5147,7 +5145,6 @@ migration_call(struct notifier_block *nfb, unsigned long action, void *hcpu)
                p = kthread_create(migration_thread, hcpu, "migration/%d", cpu);
                if (IS_ERR(p))
                        return NOTIFY_BAD;
-               p->flags |= PF_NOFREEZE;
                kthread_bind(p, cpu);
                /* Must be high prio: stop_machine expects to yield to it. */
                rq = task_rq_lock(p, &flags);
This page took 0.033882 seconds and 5 git commands to generate.