tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Some issues with x86's TLS [amd64: USER_LDT (and wine)]
On Sun, Feb 12, 2017 at 08:07:06PM +0100, Maxime Villard wrote:
> I see only two ways of fixing all of that:
> - change amd64 so that it saves/restores fsgs like i386.
This is not desirable since it moves the cost from
one-per-context-switch to once-per-return-to-userland. That said,
for USER_LDT it will likely need a branch in the return-to-userland code
to do a second pass for FS/GS reload for 32bit processes.
Joerg
Home |
Main Index |
Thread Index |
Old Index