]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cpuset(9): Add CPU_FOREACH_IS(SET|CLR) and modify consumers to use it
authorMark Johnston <markj@FreeBSD.org>
Tue, 21 Sep 2021 15:36:55 +0000 (11:36 -0400)
committerMark Johnston <markj@FreeBSD.org>
Tue, 21 Sep 2021 16:07:47 +0000 (12:07 -0400)
commit9068f6ea697b1b28ad1326a4c7a9ba86f08b985e
treeb27f5bdbc2ccb1d346c7a315560957a76ee288d8
parentdfd3bde5775ecf88851d5dffd6a8ed6076b53566
cpuset(9): Add CPU_FOREACH_IS(SET|CLR) and modify consumers to use it

This implementation is faster and doesn't modify the cpuset, so it lets
us avoid some unnecessary copying as well.  No functional change
intended.

Reviewed by: cem, kib, jhb
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32029
sys/amd64/amd64/mp_machdep.c
sys/amd64/vmm/io/vlapic.c
sys/amd64/vmm/vmm_lapic.c
sys/i386/i386/mp_machdep.c
sys/sys/cpuset.h
sys/x86/x86/mp_x86.c