Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932120AbWALHvH (ORCPT ); Thu, 12 Jan 2006 02:51:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932121AbWALHvH (ORCPT ); Thu, 12 Jan 2006 02:51:07 -0500 Received: from omx3-ext.sgi.com ([192.48.171.26]:15260 "EHLO omx3.sgi.com") by vger.kernel.org with ESMTP id S932120AbWALHvG (ORCPT ); Thu, 12 Jan 2006 02:51:06 -0500 X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.1 From: Keith Owens To: paulmck@us.ibm.com cc: John Hesterberg , Matt Helsley , Jes Sorensen , Shailabh Nagar , Andrew Morton , Jay Lan , LKML , elsa-devel@lists.sourceforge.net, lse-tech@lists.sourceforge.net, CKRM-Tech , Paul Jackson , Erik Jacobson , Jack Steiner Subject: Re: [Lse-tech] Re: [ckrm-tech] Re: [PATCH 00/01] Move Exit Connectors In-reply-to: Your message of "Wed, 11 Jan 2006 22:51:15 -0800." <20060112065115.GB23673@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 12 Jan 2006 18:50:34 +1100 Message-ID: <19140.1137052234@kao2.melbourne.sgi.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 903 Lines: 20 "Paul E. McKenney" (on Wed, 11 Jan 2006 22:51:15 -0800) wrote: >On Thu, Jan 12, 2006 at 05:19:01PM +1100, Keith Owens wrote: >> OK, I have thought about it and ... >> >> notifier_call_chain_lockfree() must be called with preempt disabled. >> >Fair enough! A comment, perhaps? In a former life I would have also >demanded debug code to verify that preemption/interrupts/whatever were >actually disabled, given the very subtle nature of any resulting bugs... Comment - OK. Debug code is not required, the reference to smp_processor_id() already does all the debug checks that notifier_call_chain_lockfree() needs. CONFIG_PREEMPT_DEBUG is your friend. - 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/