Searched hist:317147 (Results 1 - 1 of 1) sorted by path

/freebsd-11-stable/sys/arm64/arm64/
H A Dswtch.Sdiff 317147 Wed Apr 19 16:10:56 MDT 2017 andrew 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.

Completed in 130 milliseconds