patch-2.4.0-test3 linux/arch/s390/kernel/smp.c

Next file: linux/arch/s390/kernel/sys_s390.c
Previous file: linux/arch/s390/kernel/process.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test2/linux/arch/s390/kernel/smp.c linux/arch/s390/kernel/smp.c
@@ -712,7 +712,7 @@
                                 p->counter = 0;
                                 p->need_resched = 1;
                         }
-                        if (p->priority < DEF_PRIORITY) {
+                        if (p->nice > 0) {
                                 kstat.cpu_nice += user;
                                 kstat.per_cpu_nice[cpu] += user;
                         } else {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)