Page MenuHomeFreeBSD

powerpc: Rework IPI message processing
ClosedPublic

Authored by jhibbits on Apr 28 2021, 1:36 AM.
Tags
None
Referenced Files
F85203942: D30018.diff
Mon, Jun 3, 1:00 AM
Unknown Object (File)
Mon, May 27, 8:30 PM
Unknown Object (File)
Apr 18 2024, 6:40 AM
Unknown Object (File)
Apr 17 2024, 2:58 AM
Unknown Object (File)
Apr 16 2024, 9:41 PM
Unknown Object (File)
Apr 16 2024, 1:36 PM
Unknown Object (File)
Apr 16 2024, 5:52 AM
Unknown Object (File)
Apr 11 2024, 10:55 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
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 38897
Build 35786: arc lint + arc unit

Event Timeline

Looks good to me, assuming it works anyway.

sys/powerpc/powerpc/mp_machdep.c
324

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.