[Vivid][PATCH 0/2] Fixes for LP: #1427075

Chris J Arges chris.j.arges at canonical.com
Tue Mar 31 20:28:42 UTC 2015


BugLink: http://bugs.launchpad.net/bugs/1427075

I've build tested this on ppc64el.

[Impact]
Stop/continue via qemu monitor can easily trigger soft-lockups due to incorrect
VM timekeeping.

[Test Case]
On a single CPU KVM guest:
yes > /dev/null &

Followed by
(qemu) stop

Wait a while, then:
(qemu) cont

[Fix]
The following commits upstream:
commit 545a2bf742fb41f17d03486dd8a8c74ad511dec2
commit 4be1b29795d692d512bb67b770665d6f8ea5cb0b

Cyril Bur (2):
  kernel/sched/clock.c: add another clock for use with the soft lockup
    watchdog
  powerpc: add running_clock for powerpc to prevent spurious softlockup
    warnings

 arch/powerpc/kernel/time.c | 32 ++++++++++++++++++++++++++++++++
 include/linux/sched.h      |  1 +
 kernel/sched/clock.c       | 13 +++++++++++++
 kernel/watchdog.c          |  2 +-
 4 files changed, 47 insertions(+), 1 deletion(-)

-- 
1.9.1





More information about the kernel-team mailing list