From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752874AbYJ0NWU (ORCPT ); Mon, 27 Oct 2008 09:22:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752450AbYJ0NWM (ORCPT ); Mon, 27 Oct 2008 09:22:12 -0400 Received: from mx3.mail.elte.hu ([157.181.1.138]:52568 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752366AbYJ0NWL (ORCPT ); Mon, 27 Oct 2008 09:22:11 -0400 Date: Mon, 27 Oct 2008 14:21:59 +0100 From: Ingo Molnar To: "Paul E. McKenney" Cc: Gautham R Shenoy , Thomas Gleixner , Peter Zijlstra , linux-kernel@vger.kernel.org Subject: Re: [PATCH] timers: Handle HRTIMER_CB_IRQSAFE_UNLOCKED correctly from softirq context Message-ID: <20081027132159.GF25371@elte.hu> References: <20081023215003.GC1480@in.ibm.com> <20081025023303.GD6248@linux.vnet.ibm.com> <20081025045238.GA27934@in.ibm.com> <20081025142325.GB8446@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081025142325.GB8446@linux.vnet.ibm.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00,DNS_FROM_SECURITYSAGE autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 DNS_FROM_SECURITYSAGE RBL: Envelope sender in blackholes.securitysage.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Paul E. McKenney wrote: > > > > Fix this by emulating hardirq context while running these callbacks from > > > > the hrtimer softirq. > > > > > > Good catch!!! One confusion (probably on my part) below. > > > > Hmm.. Let's see... > > Gah!!! > > I am so used to seeing sequences of code that disable irqs and then > re-enable them that I misread the original, failing to see that you > were -enabling- irqs and then re-disabling them. :-/ > > Never mind!!! Sorry for the noise... ok - i've applied Gautham's fix to tip/timers/urgent, with your and Peter's Acked-by lines. Ingo