]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Allow vm object coalescing to occur in the midst of a vm object when the
authoralc <alc@FreeBSD.org>
Tue, 31 Jul 2018 17:41:48 +0000 (17:41 +0000)
committeralc <alc@FreeBSD.org>
Tue, 31 Jul 2018 17:41:48 +0000 (17:41 +0000)
commite331f32ea245ebd0a8a62921472ea964eae032ba
tree92aac5f2fc52055c23de33d74ba104e18aa266f0
parent04eea1d6e800542ccb367dae6de1656afc6855b6
Allow vm object coalescing to occur in the midst of a vm object when the
OBJ_ONEMAPPING flag is set.  In other words, allow recycling of existing
but unused subranges of a vm object when the OBJ_ONEMAPPING flag is set.

Such situations are increasingly common with jemalloc >= 5.0.  This
change has the expected effect of reducing the number of vm map entry and
object allocations and increasing the number of superpage promotions.

Reviewed by: kib, markj
Tested by: pho
MFC after: 6 weeks
Differential Revision: https://reviews.freebsd.org/D16501
sys/vm/vm_object.c