]> git.proxmox.com Git - mirror_spl.git/commit
Refactor existing code
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 8 Dec 2014 18:04:42 +0000 (13:04 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 16 Jan 2015 21:55:08 +0000 (13:55 -0800)
commite5b9b344c728bb0d9304f1a143db9255901dc5fe
tree9c8fb75b9cfc7a6cef72b2c6a7cc08ef11b9a589
parent6ecf6d7228fbb29cfe6a335f5afc20f75493a791
Refactor existing code

This change introduces no functional changes to the memory management
interfaces.  It only restructures the existing codes by separating the
kmem, vmem, and kmem cache implementations in the separate source and
header files.

Splitting this functionality in to separate files required the addition
of spl_vmem_{init,fini}() and spl_kmem_cache_{initi,fini}() functions.

Additionally, several minor changes to the #include's were required to
accommodate the removal of extraneous header from kmem.h.

But again, while large this patch introduces no functional changes.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
23 files changed:
include/linux/proc_compat.h
include/sys/Makefile.am
include/sys/kmem.h
include/sys/kmem_cache.h [new file with mode: 0644]
include/sys/types.h
include/sys/vmem.h [new file with mode: 0644]
include/sys/vmsystm.h
module/spl/Makefile.in
module/spl/spl-condvar.c
module/spl/spl-generic.c
module/spl/spl-kmem-cache.c [new file with mode: 0644]
module/spl/spl-kmem.c
module/spl/spl-kstat.c
module/spl/spl-proc.c
module/spl/spl-tsd.c
module/spl/spl-vmem.c [new file with mode: 0644]
module/spl/spl-vnode.c
module/spl/spl-zlib.c
module/splat/splat-condvar.c
module/splat/splat-internal.h
module/splat/splat-kmem.c
module/splat/splat-taskq.c
module/splat/splat-zlib.c