The patch works on 2.2.19pre17. The second machine (asus) has Uwe's patch modified
for 2.2. The
machine 'smp' is not patched.
rgds,
tim.
[tim@smp ~]# cat /proc/uptime ; cat /proc/stat | grep cpu ; yes > /dev/null & ; sleep
180 ; killall
yes ; cat /proc/uptime ; cat /proc/stat | grep cpu
[2]
> Same for 2.2.19p17
except that init_tasks is a 2.4 struc. Corrected as below.
rgds,
tim
--- 2.2.19pre17/fs/proc/array.c.old Fri Mar 16 04:09:41 2001
+++ 2.2.19pre17/fs/proc/array.c.idleSat Mar 17 19:35:36 2001
@@ -339,9 +339,16 @@
{
unsigned long uptime;
unsigned lon
> At present the idle value in /proc/uptime is only the idle time for the first
> processor. With 2.4, processes seam "stickier" for my, and e.g "yes
> >/dev/null" on an otherwise idle machine can stay for a long time on one
> processor of my (intel) SMP machine. That way, the present output of
>
Hallo,
I didn't see a maintainer for the /proc filesystem, to I send this mail to
linux-kernel for discussion.
At present the idle value in /proc/uptime is only the idle time for the first
processor. With 2.4, processes seam "stickier" for my, and e.g "yes
>/dev/null" on an otherwise idle machi
4 matches
Mail list logo