Date: Fri, 1 Dec 2017 01:21:35 +0000 (UTC) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r326416 - user/jeff/numa/sys/kern Message-ID: <201712010121.vB11LZab042961@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jeff Date: Fri Dec 1 01:21:35 2017 New Revision: 326416 URL: https://svnweb.freebsd.org/changeset/base/326416 Log: Don't free vmem boundary tags back to the system. They are not allocated via the normal kmem_malloc path. Modified: user/jeff/numa/sys/kern/subr_vmem.c Modified: user/jeff/numa/sys/kern/subr_vmem.c ============================================================================== --- user/jeff/numa/sys/kern/subr_vmem.c Thu Nov 30 21:38:09 2017 (r326415) +++ user/jeff/numa/sys/kern/subr_vmem.c Fri Dec 1 01:21:35 2017 (r326416) @@ -664,7 +664,7 @@ vmem_startup(void) UMA_ALIGN_PTR, UMA_ZONE_VM); vmem_bt_zone = uma_zcreate("vmem btag", sizeof(struct vmem_btag), NULL, NULL, NULL, NULL, - UMA_ALIGN_PTR, UMA_ZONE_VM); + UMA_ALIGN_PTR, UMA_ZONE_VM | UMA_ZONE_NOFREE); #ifndef UMA_MD_SMALL_ALLOC mtx_init(&vmem_bt_lock, "btag lock", NULL, MTX_DEF); uma_prealloc(vmem_bt_zone, BT_MAXALLOC);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712010121.vB11LZab042961>