From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arjan van de Ven Subject: Re: [PATCH 1/6] fastboot: Asynchronous function calls to speed up kernel boot Date: Wed, 14 Jan 2009 09:04:33 +0000 Message-ID: <20090114090433.45cf1e78@infradead.org> References: <20090105200959.04a626ac@infradead.org> <20090105201041.3289d3dd@infradead.org> <1231911163.20746.126.camel@rzhang-dt> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1231911163.20746.126.camel@rzhang-dt> Sender: linux-scsi-owner@vger.kernel.org To: Zhang Rui Cc: "linux-kernel@vger.kernel.org" , "torvalds@linux-foundation.org" , "mingo@elte.hu" , "akpm@linux-foundation.org" , "linux-ide@vger.kernel.org" , "linux-scsi@vger.kernel.org" , "linux-acpi@vger.kernel.org" List-Id: linux-acpi@vger.kernel.org On Wed, 14 Jan 2009 13:32:43 +0800 Zhang Rui wrote: > > + > > + wait_event(async_done, lowest_in_progress >= cookie); > > + > > In some cases, we only want to wait for a specific cookie > rather than all the cookies smaller than it. > > For example: > device cookie > ACPI battery 1 > ata port 0 2 > ata port 1 3 > ata port 0 and port 1 in the same host can not be probed in parallel. > > In this case, ata port1 should only wait for cookie 2 rather than > both 1 and 2. > I really don't want to go this way; ordering is really important and I don't want to break this. If you really have a fully separate domain (and there's only few of those in our kernel), then use a special run list. -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org