* Christian Borntraeger <[EMAIL PROTECTED]> wrote:
> Avi pointed out, that my first patch was broken, here is the 2nd try.
> I tested the patch on s390 with CONFIG_VIRT_CPU_ACCOUNTING and on
> x86_64. Seems to work.
>
> Currently the scheduler checks for PF_VCPU to decide if this timeslice
> has to be accounted as guest time. On s390 host interrupts are not
> disabled during guest execution. This causes theses interrupts to be
> accounted as guest time if CONFIG_VIRT_CPU_ACCOUNTING is set. Solution
> is to check if an interrupt triggered account_system_time. As the tick
> is timer interrupt based, we have to subtract hardirq_offset.
>
> Avi, Ingo, Laurent, feedback is welcome.
thanks, applied. I'll push this out as part of the scheduler git tree,
ok?
Ingo
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel