Subject: Re: CVS commit: src/sys/kern
To: Andrew Doran <ad@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: source-changes
Date: 02/11/2008 07:24:48
On Mon, Feb 11, 2008 at 04:19:24AM +0000, Andrew Doran wrote:
> We have the 'percpu' allocator now so it would be possible have a per-CPU
> component for every event counter so that updates don't suffer from this
> problem. The difficult bit is (I think) figuring out how to use that in
> assembly language, and how to deal with bootstrap when the VM system and the
> percpu allocator aren't working yet.

You also need to put many (event) counters into a single per-cpu cache line.

	David

-- 
David Laight: david@l8s.co.uk