lkml.org 
[lkml]   [2011]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 5/5 V5] Add check for suspended vm in softlockup detector
On 12/05/2011 10:19 PM, Eric B Munson wrote:
> A suspended VM can cause spurious soft lockup warnings. To avoid these, the
> watchdog now checks if the kernel knows it was stopped by the host and skips
> the warning if so. When the watchdog is reset successfully, clear the guest
> paused flag.
>
> int watchdog_enabled = 1;
> @@ -280,6 +281,9 @@ static enum hrtimer_restart watchdog_timer_fn(struct hrtimer *hrtimer)
> __this_cpu_write(softlockup_touch_sync, false);
> sched_clock_tick();
> }
> +
> + /* Clear the guest paused flag on watchdog reset */
> + kvm_check_and_clear_guest_paused(smp_processor_id());
> __touch_watchdog();
> return HRTIMER_RESTART;
> }

Won't build if !CONFIG_KVMCLOCK


--
error compiling committee.c: too many arguments to function



\
 
 \ /
  Last update: 2011-12-07 15:41    [W:0.257 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site