Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753882Ab0FXGqE (ORCPT ); Thu, 24 Jun 2010 02:46:04 -0400 Received: from mga09.intel.com ([134.134.136.24]:34907 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751398Ab0FXGqD (ORCPT ); Thu, 24 Jun 2010 02:46:03 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.53,472,1272870000"; d="scan'208";a="633139908" Subject: Re: [RFC 1/5] Make soft_irq NMI safe From: Huang Ying To: Peter Zijlstra Cc: Ingo Molnar , "H.PeterA" <"nvin hpa"@zytor.com>, "linux-kernel@vger.kernel.org" , Andi Kleen In-Reply-To: <1277359779.1875.833.camel@laptop> References: <1277348698-17311-1-git-send-email-ying.huang@intel.com> <1277359779.1875.833.camel@laptop> Content-Type: text/plain; charset="UTF-8" Date: Thu, 24 Jun 2010 14:45:58 +0800 Message-ID: <1277361958.3947.14.camel@yhuang-dev.sh.intel.com> Mime-Version: 1.0 X-Mailer: Evolution 2.30.1.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 722 Lines: 20 On Thu, 2010-06-24 at 14:09 +0800, Peter Zijlstra wrote: > On Thu, 2010-06-24 at 11:04 +0800, Huang Ying wrote: > > +#define __raise_softirq_preempt_off(nr) \ > > + do { set_bit(nr, (unsigned long *)local_softirq_pending()); } while (0) > > So that is the reason for that insane local_softirq_pending() > definition? I need to change local_softirq_pending() for this and the xchg() in __do_softirq(). Best Regards, Huang Ying -- 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/