Re: Locking scheme to block less

From: Martin J. Bligh
Date: Tue Aug 10 2004 - 16:38:05 EST


--John Richard Moser <nigelenki@xxxxxxxxxxx> wrote (on Monday, August 09, 2004 23:20:26 -0400):
>
> Rik van Riel wrote:
>> On Mon, 9 Aug 2004, John Richard Moser wrote:
>>
>>
>>> Currently, the kernel uses only spin_locks,
>>
>>
>> Oh ? Haven't you seen the read/write locks in
>> include/linux/spinlock.h or the lockless synchronisation
>> provided by include/linux/rcu.h ?
>>
>
> No, last I looked was in 2.4, and it was a passing glance long ago.

Perhaps recommending kernel design changes based on distant passing
glances at the code isn't the finest of plans. Rest assured that others
have given it more than passing thought, and moreover had the audacity
to implement their ideas and benchmark them.

M.
-
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/