cputimers/proc: can't we make /proc/pid/stat less accurate?
cover cputimers/proc: can't we make /proc/pid/stat less accurate?
Mostly to provoke the discussion and untested, please comment.
In short: I do not actually know if /proc/pid/stat should be "really" accurate wrt cpu accounting. I mean, I don't know how much /bin/top and friends depend on xtime monotonicity.
However, it is sad that /proc/pid/stat iterates over ->thread_group _twice_ under ->siglock.
Any thoughts?
Oleg.