• Jeremy Fitzhardinge's avatar
    xen: Account for stolen time · f91a8b44
    Jeremy Fitzhardinge authored
    This patch accounts for the time stolen from our VCPUs.  Stolen time is
    time where a vcpu is runnable and could be running, but all available
    physical CPUs are being used for something else.
    
    This accounting gets run on each timer interrupt, just as a way to get
    it run relatively often, and when interesting things are going on.
    Stolen time is not really used by much in the kernel; it is reported
    in /proc/stats, and that's about it.
    Signed-off-by: default avatarJeremy Fitzhardinge <jeremy@xensource.com>
    Acked-by: default avatarChris Wright <chrisw@sous-sol.org>
    Cc: john stultz <johnstul@us.ibm.com>
    Cc: Rik van Riel <riel@redhat.com>
    f91a8b44
time.c 13.1 KB