Re: Locking scheme to block less

From: viro
Date: Mon Aug 09 2004 - 19:52:41 EST


On Mon, Aug 09, 2004 at 08:38:33PM -0400, John Richard Moser wrote:
> Currently, the kernel uses only spin_locks, which are similar to mutex
> locks;

Does it, really?

> If the kernel provided a read-write locking semaphore,

or if you would care to RTFS and find that it does...
-
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/