Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105632
b: refs/heads/master
c: 8df185a
h: refs/heads/master
v: v3
  • Loading branch information
Mike Travis authored and Ingo Molnar committed Jul 18, 2008
1 parent be967e4 commit ea286a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8b95d9172be7146c87e7a998310ce2919c851adc
refs/heads/master: 8df185a95c9b84fc0c3c02224e64fdc5b83bae34
4 changes: 2 additions & 2 deletions trunk/kernel/kthread.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ static void create_kthread(struct kthread_create_info *create)
*/
sched_setscheduler(create->result, SCHED_NORMAL, &param);
set_user_nice(create->result, KTHREAD_NICE_LEVEL);
set_cpus_allowed(create->result, CPU_MASK_ALL);
set_cpus_allowed_ptr(create->result, CPU_MASK_ALL_PTR);
}
complete(&create->done);
}
Expand Down Expand Up @@ -233,7 +233,7 @@ int kthreadd(void *unused)
set_task_comm(tsk, "kthreadd");
ignore_signals(tsk);
set_user_nice(tsk, KTHREAD_NICE_LEVEL);
set_cpus_allowed(tsk, CPU_MASK_ALL);
set_cpus_allowed_ptr(tsk, CPU_MASK_ALL_PTR);

current->flags |= PF_NOFREEZE | PF_FREEZER_NOSIG;

Expand Down

0 comments on commit ea286a2

Please sign in to comment.