]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r310481:
authorjah <jah@FreeBSD.org>
Sat, 7 Jan 2017 18:54:57 +0000 (18:54 +0000)
committerjah <jah@FreeBSD.org>
Sat, 7 Jan 2017 18:54:57 +0000 (18:54 +0000)
commite707ee0217c58cd81d8ef0a5f33c7a82ce02105f
tree3c24eb0dde732d0e97c3cec7c935220cc325380b
parentf24d2952a9099f9b7061db82f18b1c7a530f17c8
MFC r310481:

Move the objects used to create temporary mappings for i386 pmap zero
and copy operations to the MD PCPU region.  Change sysmap
initialization to only allocate KVA pages for CPUs that are actually
present.  As a minor optimization, this also prevents false sharing
between adjacent sysmap objects since the pcpu struct is already
cacheline-aligned.

While here, move pc_qmap_addr initialization for the BSP into
pmap_bootstrap(), which allows use of pmap_quick* functions during
early boot.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D8833
sys/i386/i386/pmap.c
sys/i386/include/pcpu.h