]> granicus.if.org Git - zfs/commit
Victory! I've reworked caches with large objects which are
authorbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>
Sat, 28 Jun 2008 05:04:46 +0000 (05:04 +0000)
committerbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>
Sat, 28 Jun 2008 05:04:46 +0000 (05:04 +0000)
commitfece7c99bf18c04993b679c6fca0dd4669361716
tree152ded3c2e39e767724f23ef95728620f4820bda
parentff449ac40691903c7f49cb89b1a02696b6c37aa7
Victory!  I've reworked caches with large objects which are
based by vmalloc()'ed memory.  I now alloc a slab which is
roughly 32*spl_obj_size and in this block of memory I place
the slab descriptor, slab object descriptors, and objects
themselves.  This greatly reduces vmalloc lock contention.

Still some minor cleanup remains and fine tuning but
it's working pretty well.

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