[lkml]   [2007]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Use virtual cpu accounting if available for guest times.
    Christian Borntraeger wrote:
    > ppc and s390 offer the possibility to track process times precisely
    > by looking at cpu timer on every context switch, irq, softirq etc.
    > We can use that infrastructure as well for guest time accounting.
    > We need to account the used time before we change the state.
    > This patch adds a call to account_system_vtime to kvm_guest_enter
    > and kvm_guest exit. If CONFIG_VIRT_CPU_ACCOUNTING is not set,
    > account_system_vtime is defined in hardirq.h as an empty function,
    > which means this patch does not change the behaviour on other
    > platforms.
    > I compile tested this patch on x86 and function tested the patch on
    > s390.
    > Avi, please apply.

    Done. Thanks!

    error compiling committee.c: too many arguments to function

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-10-18 14:45    [W:0.020 / U:7.028 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site