Re: Read/write locks

David S. Miller (davem@jenolan.rutgers.edu)
Sun, 21 Sep 1997 00:29:28 -0400


Date: Sat, 20 Sep 1997 21:09:41 -0600 (MDT)
From: Colin Plumb <colin@nyx.net>

An update lock lets you read the structure while guaranteeing it
will not change, and also that you can upgrade it to a write lock
without the structure changing.

Perhaps I'm feeling dense this evening, but what in the world is the
difference then between holding the update lock and holding a rwlock
as a writer? I can't see it...

Later,
David "Sparc" Miller
davem@caip.rutgers.edu