Page MenuHomeFreeBSD

powerpc: Rework IPI message processing
ClosedPublic

Authored by jhibbits on Apr 28 2021, 1:36 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 4, 3:48 PM
Unknown Object (File)
Dec 9 2024, 6:39 AM
Unknown Object (File)
Dec 6 2024, 1:14 AM
Unknown Object (File)
Nov 28 2024, 10:07 PM
Unknown Object (File)
Nov 22 2024, 5:56 PM
Unknown Object (File)
Nov 14 2024, 1:57 PM
Unknown Object (File)
Nov 9 2024, 11:25 PM
Unknown Object (File)
Nov 7 2024, 11:16 AM
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.