tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pcb offset into uarea
On Wed, Feb 19, 2014 at 09:14:05AM -0800, Matt Thomas wrote:
>
> For the aarch64 port, the only thing in the PCB is the fpu register set.
> Everything else is in mdlwp. Now the context switch code can ignore
> the PCB entirely. I've been thinking of doing something similar for
> other ports i maintain.
Makes sense.
That would remove a rather pointless indirection for those fields as well.
On amd64 and i386 the pcb is slightly over 64 bytes (+fpu save area).
So moving those into the lwp won't make much difference.
It isn't as though anyone has considered swapping uareas for a while.
David
--
David Laight: david%l8s.co.uk@localhost
Home |
Main Index |
Thread Index |
Old Index