diff options
author | jhb <jhb@FreeBSD.org> | 2007-07-03 18:37:06 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2007-07-03 18:37:06 +0000 |
commit | 160998c890d67555e8c283998c17a05192219e1e (patch) | |
tree | 77cdafc414d9f4424acaa2cc14f2af19aa517445 /lib/libc/stdlib/putenv.c | |
parent | 7c4c0583053f67d0ec64bf2e5a0ba9d0a802ef3c (diff) | |
download | FreeBSD-src-160998c890d67555e8c283998c17a05192219e1e.zip FreeBSD-src-160998c890d67555e8c283998c17a05192219e1e.tar.gz |
Tweak the low-level MI SMP code some:
- Use cpu_spinwait() in the spin loops in stop_cpus(), restart_cpus(), and
smp_rendezvous_action().
- Remove unneeded acq memory barriers in stop_cpus(), restart_cpus(), and
smp_rendezvous_action().
- Add an additional synch point in smp_rendezvous() to ensure that all the
CPUs will always see an up-to-date value of smp_rv_setup_func.
Reviewed by: attilio
Approved by: re (kensmith)
Tested on: alpha, amd64, i386, sparc64 SMP (for several years)
Diffstat (limited to 'lib/libc/stdlib/putenv.c')
0 files changed, 0 insertions, 0 deletions