mirror_zfs/include
Brian Behlendorf 37db7d8cf9 kmem slab fixes
- Default SPL_KMEM_CACHE_DELAY changed to 15 to match Solaris.
- Aged out slab checking occurs every SPL_KMEM_CACHE_DELAY / 3.
- skc->skc_reap tunable added whichs allows callers of
  spl_slab_reclaim() to cap the number of slabs reclaimed.
  On Solaris all eligible slabs are always reclaimed, and this
  is still the default behavior.  However, I suspect that is
  not always wise for reasons such as in the next comment.
- spl_slab_reclaim() added cond_resched() while walking the
  slab/object free lists.  Soft lockups were observed when
  freeing large numbers of vmalloc'd slabs/objets.
- spl_slab_reclaim() 'sks->sks_ref > 0' check changes from
  incorrect 'break' to 'continue' to ensure all slabs are
  checked.
- spl_cache_age() reworked to avoid a deadlock with
  do_flush_tlb_all() which occured because we slept waiting
  for completion in spl_cache_age().  To waiting for magazine
  reclamation to finish is not required so we no longer wait.
- spl_magazine_create() and spl_magazine_destroy() shifted
  back to using for_each_online_cpu() instead of the
  spl_on_each_cpu() approach which was of course a bad idea
  due to memory allocations which Ricardo pointed out.
2009-02-12 13:32:10 -08:00
..
asm Add a SPL_AC_TYPE_ATOMIC64_T test to configure for systems which do 2008-11-03 21:06:04 +00:00
fs Add missing headers 2008-03-14 00:04:01 +00:00
linux 2.6.27+ portability changes 2009-02-02 15:12:30 -08:00
rpc Stub out some missing headers which are expected. I'll fill 2008-03-01 18:30:12 +00:00
sharefs Add share.h stub 2009-01-09 10:06:18 -08:00
sys kmem slab fixes 2009-02-12 13:32:10 -08:00
util Add missing headers 2008-03-13 22:52:23 +00:00
vm Include the header 2008-12-23 16:48:15 -08:00
Makefile.am Reorganize /include/ to add a /sys/, this way we don't need to 2008-03-01 00:45:59 +00:00
Makefile.in Prefix META_ALIAS with SPL_ 2008-11-26 13:26:05 -08:00
spl-ctl.h Go through and add a header with the proper UCRL number. 2008-05-26 04:38:26 +00:00
spl-device.h Sigh more compat fixes, this is almost right for 2.6.9 - 2.6.26 kernels. 2008-08-11 23:47:44 +00:00
splat-ctl.h Slightly increase SPLAT_NAME_SIZE to ensure string is always 2008-11-05 21:27:31 +00:00
strings.h More stub headers, 2008-03-04 18:22:31 +00:00
unistd.h More stub headers, 2008-03-04 18:22:31 +00:00