Subject: Re: newlock
To: Andrew Doran <>
From: Charles M. Hannum <mycroft@MIT.EDU>
List: tech-kern
Date: 09/02/2006 11:56:01
On Sat, Sep 02, 2006 at 04:22:15PM +0100, Andrew Doran wrote:
> For an example of memory
> usage, on i386 a mutex is 4 bytes and a RW lock is 16 bytes.

But you have got to stop putting mutexes in other data structures
like this.  It causes terrible cache behavior.  (Do I actually need
to explain this?)