Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754078AbaLBQd4 (ORCPT ); Tue, 2 Dec 2014 11:33:56 -0500 Received: from mail-qc0-f173.google.com ([209.85.216.173]:48493 "EHLO mail-qc0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753928AbaLBQdy (ORCPT ); Tue, 2 Dec 2014 11:33:54 -0500 MIME-Version: 1.0 In-Reply-To: <1417529606.3924.26.camel@maggy.simpson.net> References: <20141127225637.GA24019@redhat.com> <547b8a45.6e608c0a.20f9.1002@mx.google.com> <547bbe36.48548c0a.105c.779c@mx.google.com> <20141201191431.GA17385@linux.vnet.ibm.com> <547ccf74.a5198c0a.25de.26d9@mx.google.com> <20141201230339.GA20487@ret.masoncoding.com> <1417529606.3924.26.camel@maggy.simpson.net> Date: Tue, 2 Dec 2014 08:33:53 -0800 X-Google-Sender-Auth: aD0Q38pm1F4XelxYyDF-N7OETeY Message-ID: Subject: Re: frequent lockups in 3.18rc4 From: Linus Torvalds To: Mike Galbraith , Ingo Molnar , Peter Zijlstra Cc: Chris Mason , =?UTF-8?Q?D=C3=A2niel_Fraga?= , Dave Jones , Sasha Levin , "Paul E. McKenney" , Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 2, 2014 at 6:13 AM, Mike Galbraith wrote: > > The bean counting problem below can contribute. > > https://lkml.org/lkml/2014/3/30/7 Hmm. That never got applied. I didn't apply it originally because of timing and wanting clarifications, but apparently it never made it into the -tip tree either. Ingo, PeterZ - comments? Looking again at that patch (the commit message still doesn't strike me as wonderfully explanatory :^) makes me worry, though. Is that if (rq->skip_clock_update-- > 0) return; really right? If skip_clock_update was zero (normal), it now gets set to -1, which has its own specific meaning (see "force clock update" comment in kernel/sched/rt.c). Is that intentional? That seems insane. Or should it be if (rq->skip_clock_update > 0) { rq->skip_clock_update = 0; return; } or what? Maybe there was a reason the patch never got applied even to -tip. At the same time, the whole "incapacitated by the rt throttle long enough for the hard lockup detector to trigger" commentary about that skip_clock_update issue does make me go "Hmmm..". It would certainly explain Dave's incomprehensible watchdog messages.. Linus -- 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/