Re: [PATCH v0] add nano semaphore in kernel

From: Rakib Mullick
Date: Sun Dec 26 2010 - 04:08:13 EST


On Sun, Dec 26, 2010 at 1:04 PM, Hillf Danton <dhillf@xxxxxxxxx> wrote:
> On Sun, Dec 26, 2010 at 2:46 PM, Rakib Mullick <rakib.mullick@xxxxxxxxx> wrote:
>> On Sun, Dec 26, 2010 at 11:13 AM, Hillf Danton <dhillf@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/