]> git.proxmox.com Git - mirror_spl-debian.git/commit
Additional Linux VM integration
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 5 Feb 2009 20:26:34 +0000 (12:26 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 5 Feb 2009 20:26:34 +0000 (12:26 -0800)
commit4ab13d3b5c2d0724632dd29c0970ff7df00985f5
treec006243f54c1f75d07a231fef0fbe5ddab2c4ef3
parent36b313dacf2f60f526fe98b7e9d1a6bbcbb250d2
Additional Linux VM integration

Added support for Solaris swapfs_minfree, and swapfs_reserve tunables.
In additional availrmem is now available and return a reasonable value
which is reasonably analogous to the Solaris meaning.  On linux we
return the sun of free and inactive pages since these are all easily
reclaimable.

All tunables are available in /proc/sys/kernel/spl/vm/* and they may
need a little adjusting once we observe the real behavior.  Some of
the defaults are mapped to similar linux counterparts, others are
straight from the OpenSolaris defaults.
config/spl-build.m4
configure
configure.ac
include/sys/vmsystm.h
module/spl/spl-kmem.c
module/spl/spl-proc.c
spl_config.h.in