All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC,PATCH 0/2] cputimers/proc: can't we make /proc/pid/stat less accurate?
@ 2010-03-24 20:45 Oleg Nesterov
  0 siblings, 0 replies; only message in thread
From: Oleg Nesterov @ 2010-03-24 20:45 UTC (permalink / raw)
  To: Andrew Morton, Americo Wang, Balbir Singh, Eric W. Biederman,
	Hidetoshi Seto, Ingo Molnar, Peter Zijlstra, Roland McGrath,
	Spencer Candland, Stanislaw Gruszka
  Cc: linux-kernel

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-24 20:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-24 20:45 [RFC,PATCH 0/2] cputimers/proc: can't we make /proc/pid/stat less accurate? Oleg Nesterov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.