]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - sys/amd64/amd64/mp_machdep.c
eliminate possible race in parallel TLB shootdown IPI
authorTycho Nightingale <tychon@FreeBSD.org>
Tue, 13 Oct 2020 18:28:48 +0000 (18:28 +0000)
committerTycho Nightingale <tychon@FreeBSD.org>
Tue, 13 Oct 2020 18:28:48 +0000 (18:28 +0000)
commit42360f5c5b575b3f4098110fc8dfd2f4d11b6481
treed10770ec509e709c49ed220353ff1cf0a40c0042
parent47e2650ea4ff1d7d603b6b1c53b8cb6789532210
eliminate possible race in parallel TLB shootdown IPI

On the target side TLB shootdown IPI handler, prevent the compiler
from performing a forward store optimization which may mask a
subsequent update to the scoreboard by the initiator.

Reported by: Max Laier, Anton Rang
Discussed with: kib
Sponsored by: Dell EMC Isilon
sys/amd64/amd64/mp_machdep.c