Thread (45 messages) 45 messages, 6 authors, 2011-12-22

Re: [PATCH 0/5 V5] Avoid soft lockup message when KVM is stopped by host

From: Marcelo Tosatti <hidden>
Date: 2011-12-19 20:45:28
Also in: kvm, lkml

On Mon, Dec 19, 2011 at 02:59:10PM +0200, Avi Kivity wrote:
On 12/16/2011 11:31 AM, Marcelo Tosatti wrote:
quoted
quoted
quoted
Slow enough that progress of the watchdog thread is unable to keep up
with timer interrupt processing. This is considered a hang and
should be reported.
It's not a guest hang though!
No, but your host system is in such a load state that for the sake of
system usability you better print out a warning message.
What's the point in printing it in the guest?  The guest can't observe
host conditions.
quoted
I don't see the advantage of preempt notifiers over the simple, paravirt
solution proposed? Note kvmclock is already paravirt.
Right.
quoted
What do you want to be done in preempt notifiers? Measure what to
consider setting this flag?
Preemption while TASK_RUNNING or TASK_UNINTERRUPTIBLE.
Maybe it is good (not sure), need to look into schedstats and think of
cases that would break legitimate guest hangs. And it probably also
affects the position of clearing the flag on the guest side as its 
currently done in Eric's patchset.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help