summaryrefslogtreecommitdiffstats
path: root/spl_config.h.in
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-02-05 12:26:34 -0800
committerBrian Behlendorf <[email protected]>2009-02-05 12:26:34 -0800
commit4ab13d3b5c2d0724632dd29c0970ff7df00985f5 (patch)
treec006243f54c1f75d07a231fef0fbe5ddab2c4ef3 /spl_config.h.in
parent36b313dacf2f60f526fe98b7e9d1a6bbcbb250d2 (diff)
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.
Diffstat (limited to 'spl_config.h.in')
-rw-r--r--spl_config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/spl_config.h.in b/spl_config.h.in
index 2bfb5c487..1b7c8abab 100644
--- a/spl_config.h.in
+++ b/spl_config.h.in
@@ -51,6 +51,9 @@
/* fls64() is available */
#undef HAVE_FLS64
+/* get_zone_counts() is available */
+#undef HAVE_GET_ZONE_COUNTS
+
/* init_utsname() is available */
#undef HAVE_INIT_UTSNAME