summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_smp.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2005-10-24 20:52:26 +0000
committerjhb <jhb@FreeBSD.org>2005-10-24 20:52:26 +0000
commit3e00318de1032463a061de977e2d24d2c7f6bbce (patch)
tree7cd74f9528141c8c620def588b85253aa567773c /sys/kern/subr_smp.c
parent2f00e0670ed16444e0faedcb9c2ec02736e72002 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud