]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
amd64: Initialize kernel_pmap's active CPU set to all_cpus
authorMark Johnston <markj@FreeBSD.org>
Mon, 15 Nov 2021 17:41:24 +0000 (12:41 -0500)
committerMark Johnston <markj@FreeBSD.org>
Mon, 15 Nov 2021 18:01:30 +0000 (13:01 -0500)
commit71e6e9da225aede95f6813a0fcf886538d0da9fe
treee843ec1a73b02158cf2636caa9650642b35f5430
parent42c2cd1ffbdfa706764362eca1b7bf5eeeee2aef
amd64: Initialize kernel_pmap's active CPU set to all_cpus

This is in preference to simply filling the cpuset, and allows the
conditional in pmap_invalidate_cpu_mask() to be elided.

Also export pmap_invalidate_cpu_mask() outside of pmap.c for use in a
subsequent commit.

Suggested by: kib
Reviewed by: alc, kib
Tested by: pho
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32792
sys/amd64/amd64/pmap.c
sys/amd64/include/pmap.h