On Thu, Oct 18, 2007 at 09:55:13PM +0530, Srivatsa Vaddagiri wrote:
> The idle time reported in /proc/uptime (2nd field) seems to be the idle
> time of only CPU0. Shouldn't it reflect the total idle time on a SMP system?
> Do folks agree that it is a bug that needs to be fixed? If so, will send
> a patch ...
On further reflection, it doesn't sound buggy. Reporting idle time across all
cpus in /proc/uptime will cause idle time > uptime, which will be odd. I
guess if anyone wants strict idle time from all cpus, they can always
look at /proc/stat.
> Fyi, I see patches submitted to fix this way back in 2001
> [http://lkml.org/lkml/2001/3/17/55], but don't think they made in ..
--
Regards,
vatsa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]