HomeFreeBSD

MFC 313772:

Description

MFC 313772:

Load the new sp_el0 with interrupts disabled in fork_trampoline. If an
interrupt arrives in fork_trampoline after sp_el0 was written we may then
switch to a new thread, enter userland so change this stack pointer, then
return to this code with the wrong value. This fixes this case by moving
the load of sp_el0 until after interrupts have been disabled.

Details

Provenance
andrewAuthored on
Parents
rS317146: MFC 305355:
Branches
Unknown
Tags
Unknown