From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932659AbYAaLck (ORCPT ); Thu, 31 Jan 2008 06:32:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757659AbYAaLcc (ORCPT ); Thu, 31 Jan 2008 06:32:32 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:46263 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754196AbYAaLcb (ORCPT ); Thu, 31 Jan 2008 06:32:31 -0500 Subject: Re: Hang in work_resched From: Peter Zijlstra To: Guillaume Chazarain Cc: LKML , Ingo Molnar , Thomas Gleixner , "Rafael J. Wysocki" In-Reply-To: <3d8471ca0801310329o5620ac39qe3a0c39f2c0baa49@mail.gmail.com> References: <3d8471ca0801291430n68c0a845u1b24a590df8360f4@mail.gmail.com> <3d8471ca0801301454l56dd8607g25aad3ac3cd88e75@mail.gmail.com> <1201769710.28547.248.camel@lappy> <3d8471ca0801310329o5620ac39qe3a0c39f2c0baa49@mail.gmail.com> Content-Type: text/plain Date: Thu, 31 Jan 2008 12:32:26 +0100 Message-Id: <1201779146.28547.294.camel@lappy> Mime-Version: 1.0 X-Mailer: Evolution 2.21.5 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2008-01-31 at 12:29 +0100, Guillaume Chazarain wrote: > On Jan 31, 2008 9:55 AM, Peter Zijlstra wrote: > > Does this patch from thomas fix it as well? > > Unfortunately, not. > > For information, reverting just the first part of the offending commit > (sl->timer.cb_mode) fixed the problem, while reverting only the second > part (if (!hrtimer_active(&t->timer))) had no effect. > > Also, I found a trivially reproductible testcase : sleep 0. > > It hangs in nanosleep({0, 0}). Thanks, I'll go look.