Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751366AbXB0AdV (ORCPT ); Mon, 26 Feb 2007 19:33:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751370AbXB0AdV (ORCPT ); Mon, 26 Feb 2007 19:33:21 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:57900 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751366AbXB0AdU (ORCPT ); Mon, 26 Feb 2007 19:33:20 -0500 Date: Tue, 27 Feb 2007 00:33:13 +0000 From: Christoph Hellwig To: inaky@linux.intel.com Cc: Arjan van de Ven , mingo@redhat.com, akpm@osdl.org, linux-kernel@vger.kernel.org Subject: Re: [patch 0/2] semaphores: add down_interruptible_timeout() and asm-generic/semaphore.h Message-ID: <20070227003313.GA7360@infradead.org> Mail-Followup-To: Christoph Hellwig , inaky@linux.intel.com, Arjan van de Ven , mingo@redhat.com, akpm@osdl.org, linux-kernel@vger.kernel.org References: <20070227001338.344233745@sodium.jf.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070227001338.344233745@sodium.jf.intel.com> User-Agent: Mutt/1.4.2.2i X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 657 Lines: 14 On Mon, Feb 26, 2007 at 04:13:38PM -0800, inaky@linux.intel.com wrote: > Introduce down_interruptible_timeout() using timers to make the waiter > stop waiting by simulating a signal (see first patch for more > details). As well introduce asm-generic/semaphore.h and make other > architectures use it too. What do you want this for? Do you really need a full counting semaphore or do you actually want a mutex? - 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/