Page MenuHomeFreeBSD

powerpc: Rework IPI message processing
ClosedPublic

Authored by jhibbits on Apr 28 2021, 1:36 AM.
Tags
None
Referenced Files
F146959544: D30018.id89352.diff
Sat, Mar 7, 3:39 AM
F146885128: D30018.id.diff
Fri, Mar 6, 11:55 AM
Unknown Object (File)
Sun, Feb 15, 9:32 PM
Unknown Object (File)
Feb 3 2026, 2:41 PM
Unknown Object (File)
Jan 12 2026, 11:22 AM
Unknown Object (File)
Jan 10 2026, 3:53 PM
Unknown Object (File)
Jan 10 2026, 4:39 AM
Unknown Object (File)
Dec 31 2025, 8:04 PM
Subscribers

Details

Summary

There's no need to use a while loop in the IPI handler, the message list
is cached once and processed. Instead, since the existing code calls
ffs(), sort the handlers, and use a simple 'if' sequence.

Test Plan

Boot a SMP PowerPC system

Diff Detail

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

Event Timeline

Looks good to me, assuming it works anyway.

sys/powerpc/powerpc/mp_machdep.c
323

There's no switch anymore here.

This revision is now accepted and ready to land.May 7 2021, 2:08 PM
This revision was automatically updated to reflect the committed changes.