Page MenuHomeFreeBSD

powerpc: put the isync inside the TD_LOCK() checking loop
ClosedPublic

Authored by adrian on Jan 3 2026, 10:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 11, 8:51 PM
Unknown Object (File)
Mon, May 11, 8:51 PM
Unknown Object (File)
Mon, May 11, 8:51 PM
Unknown Object (File)
Mon, May 11, 8:29 PM
Unknown Object (File)
Mon, May 11, 8:01 AM
Unknown Object (File)
Fri, May 8, 1:37 AM
Unknown Object (File)
Mon, Apr 27, 8:23 PM
Unknown Object (File)
Mon, Apr 27, 2:53 PM
Subscribers

Details

Summary

Fix a narrow window where the lock is unlocked but the checking CPU
hasn't flushed things appropriately.

I've seen this reliably trigger in qemu-system-ppc64 running power9 pseries
guests.

PR: kern/292167

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

adrian added a reviewer: PowerPC.

do 32 bit as well, thanks jhibbits

This revision is now accepted and ready to land.Jan 3 2026, 11:44 PM