[RFC,PATCH 0/2] cputimers/proc: can't we make /proc/pid/stat lessaccurate?

From: Oleg Nesterov
Date: Wed Mar 24 2010 - 16:47:58 EST


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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/