mirror_zfs/module/spl
Richard Yao ad9863e80b kmem_cache: Call constructor/destructor on each alloc/free
This has a few benefits. First, it fixes a regression that "Rework
generic memory allocation interfaces" appears to have triggered in
splat's slab_reap and slab_age tests. Second, it makes porting code from
Illumos to ZFSOnLinux easier. Third, it has the side effect of making
reclaim from slab caches that specify reclaim functions an order of
magnitude faster. The splat slab_reap test usually took 30 to 40
seconds. With this change, it takes 3 to 4.

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #369
2014-10-28 09:21:08 -07:00
..
Makefile.in Simplify the time compatibility wrappers 2014-10-17 15:11:50 -07:00
spl-atomic.c Refresh links to web site 2013-03-04 19:09:34 -08:00
spl-condvar.c Linux 3.13 compat: Remove unused flags variable from __cv_init() 2013-12-02 10:11:19 -08:00
spl-cred.c Remove credential configure checks. 2014-10-17 15:11:51 -07:00
spl-debug.c Rate limit debugging stack traces 2014-07-22 09:47:24 -07:00
spl-err.c Safer debugging and assertion macros. 2014-07-01 15:14:43 -07:00
spl-generic.c Remove kallsyms_lookup_name() wrapper 2014-10-17 15:11:51 -07:00
spl-kmem.c kmem_cache: Call constructor/destructor on each alloc/free 2014-10-28 09:21:08 -07:00
spl-kobj.c Refresh links to web site 2013-03-04 19:09:34 -08:00
spl-kstat.c 3537 add kstat_waitq_enter and friends 2013-10-25 13:41:52 -07:00
spl-mutex.c Remove adaptive mutex implementation 2014-10-17 15:07:28 -07:00
spl-proc.c Remove proc_handler() wrapper 2014-10-17 15:11:52 -07:00
spl-rwlock.c Refresh links to web site 2013-03-04 19:09:34 -08:00
spl-taskq.c Evenly distribute the taskq threads across available CPUs 2014-04-25 15:29:18 -07:00
spl-thread.c Call kthread_create() correctly with fixed arguments. 2014-04-11 09:41:40 -07:00
spl-tsd.c Linux 3.9 compat: Switch to hlist_for_each{,_rcu} 2013-03-14 10:43:34 -07:00
spl-vnode.c Remove kern_path() wrapper 2014-10-17 15:11:52 -07:00
spl-xdr.c Refresh links to web site 2013-03-04 19:09:34 -08:00
spl-zlib.c Refresh links to web site 2013-03-04 19:09:34 -08:00