summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/putenv.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2007-07-03 18:37:06 +0000
committerjhb <jhb@FreeBSD.org>2007-07-03 18:37:06 +0000
commit160998c890d67555e8c283998c17a05192219e1e (patch)
tree77cdafc414d9f4424acaa2cc14f2af19aa517445 /lib/libc/stdlib/putenv.c
parent7c4c0583053f67d0ec64bf2e5a0ba9d0a802ef3c (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud