From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from az33egw02.freescale.net (az33egw02.freescale.net [192.88.158.103]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "az33egw02.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 2C252DE03F for ; Thu, 12 Mar 2009 08:03:49 +1100 (EST) Message-ID: <49B8272A.1040306@freescale.com> Date: Wed, 11 Mar 2009 16:03:38 -0500 From: Scott Wood MIME-Version: 1.0 To: Timur Tabi Subject: Re: [PATCH v5] introduce macro spin_event_timeout() References: <1236723118-3577-1-git-send-email-timur@freescale.com> <49B6EAA4.9000803@freescale.com> <20090310223753.GB26415@zod.rchland.ibm.com> <1236729551.7086.26.camel@pasglop> <49B7EC27.3030305@freescale.com> <49B80F7F.30705@freescale.com> <49B82657.9050709@freescale.com> <49B826E3.6020007@freescale.com> In-Reply-To: <49B826E3.6020007@freescale.com> Content-Type: text/plain; charset=UTF-8; format=flowed Cc: linuxppc-dev@ozlabs.org, Roland Dreier List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Timur Tabi wrote: > Scott Wood wrote: > > > Or you can say that atomic context is outside the scope of this macro. > > No, I don't want to say that. We have wait_event_timeout() for > larger-scale operations. I'm just looking for something that can > replace "while (!condition);" wait_event_timeout() requires a wait queue. -Scott