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)
Tue, Apr 21, 3:23 AM
Unknown Object (File)
Sat, Apr 11, 7:58 PM
Unknown Object (File)
Wed, Apr 8, 3:20 AM
Unknown Object (File)
Sun, Apr 5, 10:08 AM
Unknown Object (File)
Sat, Apr 4, 9:54 PM
Unknown Object (File)
Sat, Apr 4, 4:08 PM
Unknown Object (File)
Wed, Apr 1, 5:02 AM
Unknown Object (File)
Mar 24 2026, 2:32 AM
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