Source-Changes-D archive

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

Re: CVS commit: src/sys



matthew green <mrg%eterna.com.au@localhost> wrote:
> > Add PCU (Per-CPU Unit) - an interface to manage synchronization of any
> > per CPU context tied with an LWP.  Main use - lazy FPU handling on SMP.
> > 
> > Requested by matt@, will be used on mips64.  Note: implementation will
> > be improved to use IPIs before adopting on x86.  OK ad@.
> 
> why is this compiled on every port when no one uses it yet and most
> of them never will?

All SMP capable architectures, except VAX, can use this.  To avoid the
differences between SMP and UP code, it is probably worth to provide
dummy PCU interface for UP as well.

Anyway, your point is fully valid at the moment - I have put it under
"option PCU", so it could be defined in std.<arch> files.

-- 
Mindaugas


Home | Main Index | Thread Index | Old Index