]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
powerpc: Rework IPI message processing
authorJustin Hibbits <jhibbits@FreeBSD.org>
Tue, 27 Apr 2021 00:10:41 +0000 (19:10 -0500)
committerJustin Hibbits <jhibbits@FreeBSD.org>
Mon, 17 May 2021 13:26:40 +0000 (08:26 -0500)
commit7ed09a6778d3fdd5d0484c9a60f4aa48f7ffbb83
tree4e1afd1f035025b9e92628c79b500a78bec8e1c1
parent9aad27931e61b7b418bb71a1e83e206ef549df22
powerpc: Rework IPI message processing

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.

Reviewed By: nwhitehorn
Differential Revision: https://reviews.freebsd.org/D30018
sys/powerpc/powerpc/mp_machdep.c