Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 1 Sep 2002 13:23:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 1 Sep 2002 13:23:11 -0400 Received: from mailout11.sul.t-online.com ([194.25.134.85]:40660 "EHLO mailout11.sul.t-online.com") by vger.kernel.org with ESMTP id convert rfc822-to-8bit; Sun, 1 Sep 2002 13:23:11 -0400 Content-Type: text/plain; charset="us-ascii" From: Oliver Neukum To: linux-kernel@vger.kernel.org Subject: question on spinlocks Date: Sun, 1 Sep 2002 19:27:53 +0200 User-Agent: KMail/1.4.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Message-Id: <200209011927.53853.oliver@neukum.name> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 407 Lines: 20 Hi, is the following sequence legal ? spin_lock_irqsave(...); ... spin_unlock(...); schedule(); spin_lock(...); ... spin_unlock_irqrestore(...); TIA Oliver - 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/