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)
Sat, Sep 12, 5:33 AM
Unknown Object (File)
Mon, Sep 7, 11:21 PM
Unknown Object (File)
Mon, Sep 7, 8:44 PM
Unknown Object (File)
Mon, Sep 7, 6:22 PM
Unknown Object (File)
Mon, Sep 7, 12:49 PM
Unknown Object (File)
Sun, Sep 6, 10:22 AM
Unknown Object (File)
Sat, Sep 5, 12:42 AM
Unknown Object (File)
Fri, Sep 4, 7:15 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