diff options
author | kib <kib@FreeBSD.org> | 2015-08-12 09:46:39 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2015-08-12 09:46:39 +0000 |
commit | 9458aa2b576bc8a0820858af28632bcabebd4a48 (patch) | |
tree | 2b6d336c28863402a29ce09a9837897f501fe0a0 /sys/amd64/amd64/mp_machdep.c | |
parent | bff0ec5bef3ded3c67c6216c640936ddc7ecc6cc (diff) | |
download | FreeBSD-src-9458aa2b576bc8a0820858af28632bcabebd4a48.zip FreeBSD-src-9458aa2b576bc8a0820858af28632bcabebd4a48.tar.gz |
Initialization of smp_tlb_wait does not require release semantic, no
data is synchronized by store/load to the variable. The
lapic_write_icr() function ensures that store buffers are flushed
before IPI command is issued.
Discussed with: bde
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Diffstat (limited to 'sys/amd64/amd64/mp_machdep.c')
-rw-r--r-- | sys/amd64/amd64/mp_machdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c index 3c0a923..3318ddd 100644 --- a/sys/amd64/amd64/mp_machdep.c +++ b/sys/amd64/amd64/mp_machdep.c @@ -440,7 +440,7 @@ smp_targeted_tlb_shootdown(cpuset_t mask, u_int vector, pmap_t pmap, smp_tlb_addr1 = addr1; smp_tlb_addr2 = addr2; smp_tlb_pmap = pmap; - atomic_store_rel_int(&smp_tlb_wait, 0); + smp_tlb_wait = 0; if (CPU_ISFULLSET(&mask)) { ncpu = othercpus; ipi_all_but_self(vector); |