Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 1 Sep 2002 18:11:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 1 Sep 2002 18:11:35 -0400 Received: from p50887EBD.dip.t-dialin.net ([80.136.126.189]:51938 "EHLO hawkeye.luckynet.adm") by vger.kernel.org with ESMTP id ; Sun, 1 Sep 2002 18:11:35 -0400 Date: Sun, 1 Sep 2002 16:16:00 -0600 (MDT) From: Thunder from the hill X-X-Sender: thunder@hawkeye.luckynet.adm To: Robert Love cc: Ralf Baechle , Oliver Neukum , Linux Kernel Mailing List Subject: Re: question on spinlocks In-Reply-To: <1030918094.11553.3121.camel@phantasy> Message-ID: X-Location: Dorndorf/Steudnitz; Germany MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 518 Lines: 21 Hi, On 1 Sep 2002, Robert Love wrote: > spin_lock_irq(&lck); > ... > spin_unlock(&lck); > schedule(); > spin_lock_irq(&lck); > ... > spin_unlock_irq(&lck); That makes me understand his intention a lot more. I must have got beaten up by the "irqsave". Thunder - 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/