On 07/04/2011 11:32 AM, Glauber Costa wrote:
This patch accounts steal time time in account_process_tick. If one or more tick is considered stolen in the current accounting cycle, user/system accounting is skipped. Idle is fine, since the hypervisor does not report steal time if the guest is halted. Accounting steal time from the core scheduler give us the advantage of direct acess to the runqueue data. In a later opportunity, it can be used to tweak cpu power and make the scheduler aware of the time it lost. Signed-off-by: Glauber Costa<glommer@xxxxxxxxxx> CC: Rik van Riel<riel@xxxxxxxxxx> CC: Jeremy Fitzhardinge<jeremy.fitzhardinge@xxxxxxxxxx> CC: Peter Zijlstra<peterz@xxxxxxxxxxxxx> CC: Avi Kivity<avi@xxxxxxxxxx> CC: Anthony Liguori<aliguori@xxxxxxxxxx> CC: Eric B Munson<emunson@xxxxxxxxx>
Acked-by: Rik van Riel <riel@xxxxxxxxxx> -- All rights reversed -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html