Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756011AbZCKWHq (ORCPT ); Wed, 11 Mar 2009 18:07:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753799AbZCKWG7 (ORCPT ); Wed, 11 Mar 2009 18:06:59 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:40207 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754024AbZCKWG6 (ORCPT ); Wed, 11 Mar 2009 18:06:58 -0400 Date: Wed, 11 Mar 2009 15:01:11 -0700 (PDT) From: Linus Torvalds X-X-Sender: torvalds@localhost.localdomain To: Thomas Gleixner cc: "Rafael J. Wysocki" , pm list , LKML , Ingo Molnar , "Eric W. Biederman" , Benjamin Herrenschmidt , Jeremy Fitzhardinge , Len Brown , Jesse Barnes , Frans Pop , =?ISO-8859-15?Q?Arve_Hj=F8nnev=E5g?= Subject: Re: [PATCH 1/10] PM: Rework handling of interrupts during suspend-resume (rev. 5) In-Reply-To: Message-ID: References: <200902221837.49396.rjw@sisk.pl> <200903112215.02445.rjw@sisk.pl> <200903112250.10572.rjw@sisk.pl> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 540 Lines: 18 On Wed, 11 Mar 2009, Thomas Gleixner wrote: > > I'm not worried about nested ones. Then you shouldn't be worried about IRQ_SUSPENDED at all, since that one increments the disabled depth count. So _all_ disable/enable_irq calls will by definition be nested inside IRQ_SUSPENDED. 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/