]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix uma boot pages calculations on NUMA machines that also don't have
authorjeff <jeff@FreeBSD.org>
Mon, 6 Jan 2020 02:51:19 +0000 (02:51 +0000)
committerjeff <jeff@FreeBSD.org>
Mon, 6 Jan 2020 02:51:19 +0000 (02:51 +0000)
commit2d206baae6994b02dc8d891a87a76a54164bd49b
tree99356132e06a226e48f3f22e1fe454e0139df2fd
parent97852320959cb7796b93d2785a77daac7b19c649
Fix uma boot pages calculations on NUMA machines that also don't have
MD_UMA_SMALL_ALLOC.  This is unusual but not impossible.  Fix the alignemnt
of zones while here.  This was already correct because uz_cpu strongly
aligned the zone structure but the specified alignment did not match
reality and involved redundant defines.

Reviewed by: markj, rlibby
Differential Revision: https://reviews.freebsd.org/D23046
sys/vm/uma_core.c
sys/vm/uma_int.h
sys/vm/vm_page.c