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
F157197044: D54478.id168977.diff
Tue, May 19, 6:12 AM
Unknown Object (File)
Thu, May 14, 10:33 AM
Unknown Object (File)
Thu, May 14, 9:23 AM
Unknown Object (File)
Thu, May 14, 3:44 AM
Unknown Object (File)
Wed, May 13, 7:38 PM
Unknown Object (File)
Wed, May 13, 7:38 PM
Unknown Object (File)
Wed, May 13, 5:01 PM
Unknown Object (File)
Mon, May 11, 8:51 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 69596
Build 66479: arc lint + arc unit

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