Print this page
9018 Replace kmem_cache_reap_now() with kmem_cache_reap_soon()
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Reviewed by: Dan McDonald <danmcd@joyent.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Yuri Pankov <yuripv@yuripv.net>
*** 23,33 ****
* Use is subject to license terms.
*/
/*
* Copyright (c) 2012, 2015 by Delphix. All rights reserved.
! * Copyright (c) 2012, Joyent, Inc. All rights reserved.
*/
/*
* Big Theory Statement for the virtual memory allocator.
*
--- 23,33 ----
* Use is subject to license terms.
*/
/*
* Copyright (c) 2012, 2015 by Delphix. All rights reserved.
! * Copyright (c) 2018, Joyent, Inc.
*/
/*
* Big Theory Statement for the virtual memory allocator.
*
*** 1743,1753 ****
/*
* Reap any quantum caches that may be part of this vmem.
*/
for (i = 0; i < VMEM_NQCACHE_MAX; i++)
if (vmp->vm_qcache[i])
! kmem_cache_reap_now(vmp->vm_qcache[i]);
}
/*
* Prepare vmem for use.
*/
--- 1743,1753 ----
/*
* Reap any quantum caches that may be part of this vmem.
*/
for (i = 0; i < VMEM_NQCACHE_MAX; i++)
if (vmp->vm_qcache[i])
! kmem_cache_reap_soon(vmp->vm_qcache[i]);
}
/*
* Prepare vmem for use.
*/