[lkml]   [2004]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Locking scheme to block less
On Mon, 9 Aug 2004, John Richard Moser wrote:
> 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.

We've had read write locks since 2.2...

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:05    [W:0.041 / U:10.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site