Messages in this thread | | | Date | Tue, 10 Aug 2004 22:08:09 -0400 (EDT) | From | Rik van Riel <> | Subject | Re: 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 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/
| |