HomeFreeBSD

MFC r303923:

Description

MFC r303923:

Make cpu_set_user_tls() work when called on the running thread.

On all the other architectures, this function can also be called on the
currently running thread. In this case, we shouldn't fix up the address
in the PCB, but also patch up the register itself. Otherwise it will not
become active and will simply become overwritten by the next switch.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D7437
Approved by: re

Details

Provenance
edAuthored on
Reviewer
imp
Parents
rS304171: Merge ^/head r302769 through r304170.
Branches
Unknown
Tags
Unknown