patch-2.1.120 linux/kernel/sched.c
Next file: linux/mm/swap_state.c
Previous file: linux/kernel/fork.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Fri Sep 4 09:13:29 1998
- Orig file:
v2.1.119/linux/kernel/sched.c
- Orig date:
Thu Aug 27 19:56:30 1998
diff -u --recursive --new-file v2.1.119/linux/kernel/sched.c linux/kernel/sched.c
@@ -844,8 +844,7 @@
read_lock(&tasklist_lock);
for_each_task(p) {
- if (p->pid &&
- (p->state == TASK_RUNNING ||
+ if ((p->state == TASK_RUNNING ||
p->state == TASK_UNINTERRUPTIBLE ||
p->state == TASK_SWAPPING))
nr += FIXED_1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov