Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/kern



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@localhost



Home | Main Index | Thread Index | Old Index