[lkml]   [2011]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH v2 3/6] KVM-GST: KVM Steal time accounting
    On 01/28/2011 02:52 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<>
    > CC: Rik van Riel<>
    > CC: Jeremy Fitzhardinge<>
    > CC: Peter Zijlstra<>
    > CC: Avi Kivity<>

    Not the traditional way of doing steal time, but a lot cleaner
    than the legacy code that's left over from when each clocksource
    had its own interrupt function.

    I like it.

    Acked-by: Rik van Riel <>

    All rights reversed

     \ /
      Last update: 2011-01-29 02:57    [W:0.069 / U:16.276 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site