HomeFreeBSD

amd64: rewrite cpu_switch.S fragment to reload tss.rsp0 on context switch.

Description

amd64: rewrite cpu_switch.S fragment to reload tss.rsp0 on context switch.

New code avoids jumps.

Reviewed by: markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D19514

Details

Provenance
kibAuthored on
Reviewer
markj
Differential Revision
D19514: KPTI: add control from proccontrol(8)
Parents
rS345224: MFC r345089:
Branches
Unknown
Tags
Unknown