mirror_zfs/module
Brian Behlendorf 3336e29cc2 Add slab usage summeries to /proc
One of the most common things you want to know when looking at
the slab is how much memory is being used.  This information was
available in /proc/spl/kmem/slab but only on a per-slab basis.
This commit adds the following /proc/sys/kernel/spl/kmem/slab*
entries to make total slab usage easily available at a glance.

  slab_kmem_total - Total kmem slab size
  slab_kmem_avail - Alloc'd kmem slab size
  slab_kmem_max   - Max observed kmem slab size
  slab_vmem_total - Total vmem slab size
  slab_vmem_avail - Alloc'd vmem slab size
  slab_vmem_max   - Max observed vmem slab size

NOTE: The slab_*_max values are expected to over report because
they show maximum values since boot, not current values.
2011-04-06 20:06:03 -07:00
..
spl Add slab usage summeries to /proc 2011-04-06 20:06:03 -07:00
splat Add zlib regression test 2011-02-25 16:56:46 -08:00
.gitignore sun-misc-gitignore 2010-01-08 09:37:54 -08:00
Makefile.in Support custom build directories 2010-09-05 21:49:05 -07:00