]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When we set OFFPAGE to limit fragmentation we should also set VTOSLAB
authorjeff <jeff@FreeBSD.org>
Wed, 20 Nov 2019 01:57:33 +0000 (01:57 +0000)
committerjeff <jeff@FreeBSD.org>
Wed, 20 Nov 2019 01:57:33 +0000 (01:57 +0000)
commit65c224f0ae119b62de98504daf4b356a7c4368ee
tree36eaa877803fc8d76000ed7a71e4cf46d10ee946
parent7b5cc68786def97fd618f918899aef0532b8ff29
When we set OFFPAGE to limit fragmentation we should also set VTOSLAB
so that we avoid the hashtables.  The hashtable is now only required if
a zone is created with OFFPAGE specified initially, not internally.  This
flag signals to UMA that it can't touch the allocated memory and so
can't store a slab pointer in the containing page.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D22453
sys/vm/uma_core.c