From mboxrd@z Thu Jan 1 00:00:00 1970 From: Glauber Costa Subject: Re: [RFC v2 6/7] touch softlockup watchdog Date: Mon, 30 Aug 2010 15:07:17 -0300 Message-ID: <20100830180717.GN17084@mothafucka.localdomain> References: <1283184391-7785-5-git-send-email-glommer@redhat.com> <1283184391-7785-6-git-send-email-glommer@redhat.com> <1283184391-7785-7-git-send-email-glommer@redhat.com> <1283184391-7785-8-git-send-email-glommer@redhat.com> <1283184391-7785-9-git-send-email-glommer@redhat.com> <1283184391-7785-10-git-send-email-glommer@redhat.com> <1283184391-7785-11-git-send-email-glommer@redhat.com> <1283184391-7785-12-git-send-email-glommer@redhat.com> <1283184391-7785-13-git-send-email-glommer@redhat.com> <4C7BEB66.6050301@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, avi@redhat.com, zamsden@redhat.com, mtosatti@redhat.com, riel@redhat.com, peterz@infradead.org, mingo@elte.hu To: Jeremy Fitzhardinge Return-path: Received: from mx1.redhat.com ([209.132.183.28]:24271 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755596Ab0H3SHe (ORCPT ); Mon, 30 Aug 2010 14:07:34 -0400 Content-Disposition: inline In-Reply-To: <4C7BEB66.6050301@goop.org> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Aug 30, 2010 at 10:33:26AM -0700, Jeremy Fitzhardinge wrote: > On 08/30/2010 09:06 AM, Glauber Costa wrote: > > With a reliable steal time mechanism, we can tell if we're > > out of the cpu for very long, differentiating from the case > > that we simply got a real softlockup. > > > > In the case we were out of cpu, the watchdog is fed, making > > bogus softlockups disappear. > > Why not change the softlockup to measure unstolen time rather than > explicitly poking it from a hypervisor-specific function? > Ok, I like your idea much better. Thanks!