diff options
author | jhb <jhb@FreeBSD.org> | 2005-10-24 20:52:26 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2005-10-24 20:52:26 +0000 |
commit | 3e00318de1032463a061de977e2d24d2c7f6bbce (patch) | |
tree | 7cd74f9528141c8c620def588b85253aa567773c /sys/kern/subr_smp.c | |
parent | 2f00e0670ed16444e0faedcb9c2ec02736e72002 (diff) | |
download | FreeBSD-src-3e00318de1032463a061de977e2d24d2c7f6bbce.zip FreeBSD-src-3e00318de1032463a061de977e2d24d2c7f6bbce.tar.gz |
Use xchg in Xcpustop to close a race and make cpustop_restartfunc truly
one-shot in the SMP case (before using the simple mov / cmp / mov sequence
could allow multiple CPUs to execute the restart function on resume).
Diffstat (limited to 'sys/kern/subr_smp.c')
0 files changed, 0 insertions, 0 deletions