mips64: Enforce memory ordering on SMP rendezvous
authorvisa <visa@openbsd.org>
Sun, 10 Apr 2022 13:23:14 +0000 (13:23 +0000)
committervisa <visa@openbsd.org>
Sun, 10 Apr 2022 13:23:14 +0000 (13:23 +0000)
commit675ea909b160b10805cf6685f66fc8e887139f29
treec7bdb50a8de79b5b05ba0d2d55f5f058d7f27b45
parente35036c02dc104bc61903d370b38b32356ee821d
mips64: Enforce memory ordering on SMP rendezvous

Make sure that each CPU sees the initiator's pre-action state when
running the action function, and that the initiator sees the combined
post-action state.

Use CPU_BUSY_CYCLE() when busy-waiting.
sys/arch/mips64/mips64/ipifuncs.c