diff options
author | George Wilson <[email protected]> | 2015-06-24 15:48:22 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-06-25 08:58:16 -0700 |
commit | 669dedb33f4bf68ba75089f1e7b279932c9580a7 (patch) | |
tree | cd242cd354a17ade2773f9e6e2ede5f2c6ffb0e0 /lib/libspl | |
parent | aa9af22cdf8d16c197974c3a478d2053b3bed498 (diff) |
Illumos 5163 - arc should reap range_seg_cache
5163 arc should reap range_seg_cache
Reviewed by: Christopher Siden <[email protected]>
Reviewed by: Matthew Ahrens <[email protected]>
Reviewed by: Richard Elling <[email protected]>
Reviewed by: Saso Kiselkov <[email protected]>
Approved by: Dan McDonald <[email protected]>
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 <[email protected]>
Diffstat (limited to 'lib/libspl')
-rw-r--r-- | lib/libspl/include/umem.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 |