From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264230AbTDJWJg (for ); Thu, 10 Apr 2003 18:09:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264229AbTDJWJf (for ); Thu, 10 Apr 2003 18:09:35 -0400 Received: from [195.39.17.254] ([195.39.17.254]:9732 "EHLO Elf.ucw.cz") by vger.kernel.org with ESMTP id S264230AbTDJWJe (for ); Thu, 10 Apr 2003 18:09:34 -0400 Date: Thu, 10 Apr 2003 20:38:40 +0200 From: Pavel Machek To: Alan Cox Cc: Nigel Cunningham , Linux Kernel Mailing List Subject: Re: PATCH: Fixes for ide-disk.c Message-ID: <20030410183839.GC4293@zaurus.ucw.cz> References: <1049527877.1865.17.camel@laptop-linux.cunninghams> <1049561200.25700.7.camel@dhcp22.swansea.linux.org.uk> <1049570711.3320.2.camel@laptop-linux.cunninghams> <1049641400.963.18.camel@dhcp22.swansea.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1049641400.963.18.camel@dhcp22.swansea.linux.org.uk> User-Agent: Mutt/1.3.27i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi! > > Okay. We need a different solution then, but the problem remains - the > > driver can get multiple, nexted calls to block and unblock. Can it > > become a counting lock? > > Blocked is a binary power management described state, its not a lock. > What are you actually trying to do ? He's trying to fix swsusp. Just now it likes to BUG() for some people. -- Pavel Written on sharp zaurus, because my Velo1 broke. If you have Velo you don't need...