Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755638Ab2BQBjl (ORCPT ); Thu, 16 Feb 2012 20:39:41 -0500 Received: from mail-vw0-f46.google.com ([209.85.212.46]:53129 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752306Ab2BQBjk (ORCPT ); Thu, 16 Feb 2012 20:39:40 -0500 MIME-Version: 1.0 In-Reply-To: <20120216231533.GA7392@redhat.com> References: <20120216231533.GA7392@redhat.com> Date: Thu, 16 Feb 2012 17:39:38 -0800 X-Google-Sender-Auth: 3ptaknIgeL-45Fw1wZ27Fftqe98 Message-ID: Subject: Re: soft lockup detector & virtualisation From: john stultz To: Dave Jones , Linux Kernel Cc: Eric B Munson Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1128 Lines: 29 On Thu, Feb 16, 2012 at 3:15 PM, Dave Jones wrote: > Lately I've noticed quite a few soft lockup bugs being reported. > In many of them, they're coming from inside virtual guests. > > Is the softlockup detector fundamentally broken in this situation ? > > If the host doesn't schedule the guest for whatever reason, > or the user suspends the VM and resumes it later ? > > Here's the most recent example: > https://bugzilla.redhat.com/attachment.cgi?id=563767 > > In many of these, the code where it's "stuck" isn't anything > special, which is why I think the guest just hasn't had a > timeslice in 185 seconds. > > Is there some way we can perhaps detect we're running virtualised, > and disable the detector automatically ? I think Eric's work (See "Add check for suspended vm in softlockup detector" sent out today) tries to address this issue. thanks -john -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/