diff options
author | Laszlo Ersek <lersek@redhat.com> | 2011-10-18 22:42:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-21 18:19:01 -0700 |
commit | a8fc29c2b3c5c9116f441ce599d7f82acc0f9795 (patch) | |
tree | 24b2a5d16b2e57ab831b39a9badae5794d8335a8 /kernel | |
parent | 9907fd98dde10234e803c66a4d2d1641dbaf61fe (diff) | |
download | lwn-a8fc29c2b3c5c9116f441ce599d7f82acc0f9795.tar.gz lwn-a8fc29c2b3c5c9116f441ce599d7f82acc0f9795.zip |
xen/time: remove blocked time accounting from xen "clockchip"
commit 0b0c002c340e78173789f8afaa508070d838cf3d upstream.
... because the "clock_event_device framework" already accounts for idle
time through the "event_handler" function pointer in
xen_timer_interrupt().
The patch is intended as the completion of [1]. It should fix the double
idle times seen in PV guests' /proc/stat [2]. It should be orthogonal to
stolen time accounting (the removed code seems to be isolated).
The approach may be completely misguided.
[1] https://lkml.org/lkml/2011/10/6/10
[2] http://lists.xensource.com/archives/html/xen-devel/2010-08/msg01068.html
John took the time to retest this patch on top of v3.10 and reported:
"idle time is correctly incremented for pv and hvm for the normal
case, nohz=off and nohz=idle." so lets put this patch in.
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: John Haxby <john.haxby@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions