From 669dedb33f4bf68ba75089f1e7b279932c9580a7 Mon Sep 17 00:00:00 2001 From: George Wilson Date: Wed, 24 Jun 2015 15:48:22 -0700 Subject: Illumos 5163 - arc should reap range_seg_cache 5163 arc should reap range_seg_cache Reviewed by: Christopher Siden Reviewed by: Matthew Ahrens Reviewed by: Richard Elling Reviewed by: Saso Kiselkov Approved by: Dan McDonald References: https://www.illumos.org/issues/5163 https://github.com/illumos/illumos-gate/commit/83803b5 Porting Notes: Added umem_cache_reap_now() wrapped to suppress unused variable warning for user space build in arc_kmem_reap_now(). Ported-by: Brian Behlendorf --- lib/libspl/include/umem.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/libspl/include') diff --git a/lib/libspl/include/umem.h b/lib/libspl/include/umem.h index b1c9cb7ff..a89cb4950 100644 --- a/lib/libspl/include/umem.h +++ b/lib/libspl/include/umem.h @@ -191,6 +191,11 @@ umem_cache_free(umem_cache_t *cp, void *ptr) umem_free(ptr, cp->cache_bufsize); } +static inline void +umem_cache_reap_now(umem_cache_t *cp) +{ +} + #ifdef __cplusplus } #endif -- cgit v1.2.3