Buggy idle time reported in /proc/uptime for SMP systems?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <torvalds@...>, <akpm@...>, Ingo Molnar <mingo@...>
Cc: <linux-kernel@...>, <pbadari@...>, <dhaval@...>
Date: Thursday, October 18, 2007 - 12:25 pm

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 ...

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
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Buggy idle time reported in /proc/uptime for SMP systems?, Srivatsa Vaddagiri, (Thu Oct 18, 12:25 pm)
Re: Buggy idle time reported in /proc/uptime for SMP systems?, Srivatsa Vaddagiri, (Thu Oct 18, 3:12 pm)