diff options
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index f592ce6f8616..865b433fac5b 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -2309,7 +2309,7 @@ unsigned long wait_task_inactive(struct task_struct *p, long match_state) | |||
2309 | * Cause a process which is running on another CPU to enter | 2309 | * Cause a process which is running on another CPU to enter |
2310 | * kernel-mode, without any delay. (to get signals handled.) | 2310 | * kernel-mode, without any delay. (to get signals handled.) |
2311 | * | 2311 | * |
2312 | * NOTE: this function doesnt have to take the runqueue lock, | 2312 | * NOTE: this function doesn't have to take the runqueue lock, |
2313 | * because all it wants to ensure is that the remote task enters | 2313 | * because all it wants to ensure is that the remote task enters |
2314 | * the kernel. If the IPI races and the task has been migrated | 2314 | * the kernel. If the IPI races and the task has been migrated |
2315 | * to another CPU then no harm is done and the purpose has been | 2315 | * to another CPU then no harm is done and the purpose has been |
@@ -4997,7 +4997,7 @@ recheck: | |||
4997 | */ | 4997 | */ |
4998 | raw_spin_lock_irqsave(&p->pi_lock, flags); | 4998 | raw_spin_lock_irqsave(&p->pi_lock, flags); |
4999 | /* | 4999 | /* |
5000 | * To be able to change p->policy safely, the apropriate | 5000 | * To be able to change p->policy safely, the appropriate |
5001 | * runqueue lock must be held. | 5001 | * runqueue lock must be held. |
5002 | */ | 5002 | */ |
5003 | rq = __task_rq_lock(p); | 5003 | rq = __task_rq_lock(p); |
@@ -5705,7 +5705,7 @@ void show_state_filter(unsigned long state_filter) | |||
5705 | do_each_thread(g, p) { | 5705 | do_each_thread(g, p) { |
5706 | /* | 5706 | /* |
5707 | * reset the NMI-timeout, listing all files on a slow | 5707 | * reset the NMI-timeout, listing all files on a slow |
5708 | * console might take alot of time: | 5708 | * console might take a lot of time: |
5709 | */ | 5709 | */ |
5710 | touch_nmi_watchdog(); | 5710 | touch_nmi_watchdog(); |
5711 | if (!state_filter || (p->state & state_filter)) | 5711 | if (!state_filter || (p->state & state_filter)) |