]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Reset the per-CPU unique value at boot and clear it in the PCB of the
authorMarcel Moolenaar <marcel@FreeBSD.org>
Sun, 27 Jul 2003 23:45:48 +0000 (23:45 +0000)
committerMarcel Moolenaar <marcel@FreeBSD.org>
Sun, 27 Jul 2003 23:45:48 +0000 (23:45 +0000)
commitde22416ef671aff08087e176a856c05382f08b94
tree2b6422df5fabb1497a0a5066d4dae2c3ac1779c9
parentcdedf48666c209df75aa11111f9d7a6d326b953b
Reset the per-CPU unique value at boot and clear it in the PCB of the
child when forking. This provides a consistent initial state.
Note that cpu_set_upcall() does not clear the per-CPU unique value as
it is followed by a call to set_mcontext(), which sets it accordingly.
sys/alpha/alpha/machdep.c
sys/alpha/alpha/mp_machdep.c
sys/alpha/alpha/vm_machdep.c