Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751787Ab0LZJIF (ORCPT ); Sun, 26 Dec 2010 04:08:05 -0500 Received: from mail-ww0-f44.google.com ([74.125.82.44]:61120 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751689Ab0LZJIC (ORCPT ); Sun, 26 Dec 2010 04:08:02 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=xdWfFJvNmFrVAQ+N1nvLsXLvQzvf3fZSdjau4SIGuuJX6G4Ry6VbWH5jlVRbYyP5+a pIL3Ne/jXjYFnLh5Yjum8kf9E1opPHZ0WsZ1cjkAgK37HFc0IkPBGuX0R0G7PcscUDH/ +bYkqvMpRqFHKQPW6z5EojQgVFuki2zATHBOg= MIME-Version: 1.0 In-Reply-To: References: Date: Sun, 26 Dec 2010 15:08:01 +0600 Message-ID: Subject: Re: [PATCH v0] add nano semaphore in kernel From: Rakib Mullick To: Hillf Danton Cc: linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 941 Lines: 21 On Sun, Dec 26, 2010 at 1:04 PM, Hillf Danton wrote: > On Sun, Dec 26, 2010 at 2:46 PM, Rakib Mullick wrote: >> On Sun, Dec 26, 2010 at 11:13 AM, Hillf Danton wrote: >> Above description tells how its done, what it is but its not clear why >> we should use it. Can I know why should we use it or its benefits? >> > > The outstanding benefit looks that nano semaphore could be used in > cases where callers want to wait not only more than one jiffy, but far > less than one jiffy also. > But, how do we know that resources are going to be available within one jiffy or far less than one jiffy? We we be deterministic? thanks, rakib -- 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/