Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756758AbZDKPjh (ORCPT ); Sat, 11 Apr 2009 11:39:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754157AbZDKPj3 (ORCPT ); Sat, 11 Apr 2009 11:39:29 -0400 Received: from mail-bw0-f169.google.com ([209.85.218.169]:56699 "EHLO mail-bw0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754088AbZDKPj2 (ORCPT ); Sat, 11 Apr 2009 11:39:28 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=KzydDC7HTP8BAIdjV+QmUM/Vpx0bjs6yWvgrTbjtjRhzVC4HkVGxaAXJCDe/T3kZwD 0p+e0Kx7oBZMVNGaslKrBhgvZSqOSA5xsODPa2k5AkHuEPEro3NHltd9ibpq8vtFVTGu FUpMBEwjh0gJIgmqwA4P/788oY7FPYzIhU1TM= MIME-Version: 1.0 In-Reply-To: <20090410160137.2f6261ff.akpm@linux-foundation.org> References: <1239288723-4240-1-git-send-email-abogani@texware.it> <20090410160137.2f6261ff.akpm@linux-foundation.org> Date: Sat, 11 Apr 2009 17:39:26 +0200 X-Google-Sender-Auth: 953fce48d224796e Message-ID: <63a49ef40904110839w53cde9c6k1a261effd1338942@mail.gmail.com> Subject: Re: [PATCH] tifm: avoid inconsistent lock state From: Alessio Igor Bogani To: Andrew Morton Cc: oakad@yahoo.com, linux-kernel@vger.kernel.org, Ingo Molnar , Thomas Gleixner , Alan Cox Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 577 Lines: 18 Dear Sir Morton, 2009/4/11 Andrew Morton : [...] > tifm_7xx1_isr() can legitimately use spin_lock() on that lock, because > it's running in hard IRQ context and "knows" that tifm_7xx1_isr() > cannot be reentered on this CPU while it is running. [...] Thank you for reply and explanation. Ciao, Alessio -- 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/