On 01/24/2011 01:06 PM, Glauber Costa wrote:
This patch accounts steal time time in kernel/sched.
I kept it from last proposal, because I still see advantages
in it: Doing it here will give us easier access from scheduler
variables such as the cpu rq. The next patch shows an example of
usage for it.

Since functions like account_idle_time() can be called from
multiple places, not only account_process_tick(), steal time
grabbing is repeated in each account function separatedely.

Signed-off-by: Glauber Costa<[email protected]>
CC: Rik van Riel<[email protected]>
CC: Jeremy Fitzhardinge<[email protected]>
CC: Peter Zijlstra<[email protected]>
CC: Avi Kivity<[email protected]>

Reviewed-by: Rik van Riel <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to