]> git.proxmox.com Git - mirror_spl-debian.git/commit - module/splat/splat-kmem.c
- Remove hash functionality from slab in favor of direct lookups
authorbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>
Tue, 1 Jul 2008 03:28:54 +0000 (03:28 +0000)
committerbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>
Tue, 1 Jul 2008 03:28:54 +0000 (03:28 +0000)
commita1502d76aef90d32ac779c1ae3cf89a80d9d591d
tree75e127952d0cbe21b967031e021aacc63366110f
parent1c3832576db0f692ec066b4059feb4a9a695a575
- Remove hash functionality from slab in favor of direct lookups
  based of the spl_kmem_obj_t tacked on the end of each object.
  This actually isn't so back because we are now allocing large
  chunks for the slab and partitioning it ourselves.  So there's
  not a ton of wasted space.  We may suffer a performance hit
  however due to alignment issues.

- Remove remaining depenancies on the linux slab implementation.
  We're standing on our own now for better or worse.

- Rework slabs to be either kmem or vmem based.  If neither
  KMC_VMEM of KMC_KMEM are specified we make a decent guess
  about what will work best for their based on the object
  size.  Additionally we provide a kmem_virt() function caller
  can use to see if they have a virtual or physical address.

- Minor fixups in the test suite.

git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@141 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
include/sys/kmem.h
modules/spl/spl-kmem.c
modules/spl/spl-proc.c
modules/splat/splat-kmem.c