Subject: Re: CVS commit: [vmlocking] src/sys/uvm
To: Andrew Doran <ad@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: source-changes
Date: 04/29/2007 18:20:25
On Sat, Apr 28, 2007 at 08:47:04PM +0000, Andrew Doran wrote:
>
> Module Name: src
> Committed By: ad
> Date: Sat Apr 28 20:47:04 UTC 2007
>
> Modified Files:
> src/sys/uvm [vmlocking]: uvm.h uvm_init.c uvm_page.c
>
> Log Message:
> Split uvm_hashlock into an array of 32 locks.
Is it sensible to put more than one lock in a single cache line?
(Which is what I suspect this change does.)
Since that generates many more cache snoops that strictly necessary.
David
--
David Laight: david@l8s.co.uk