aboutsummaryrefslogtreecommitdiffstats
path: root/package/compcache/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/compcache/Config.in')
-rw-r--r--package/compcache/Config.in30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/compcache/Config.in b/package/compcache/Config.in
new file mode 100644
index 0000000000..9904237edc
--- /dev/null
+++ b/package/compcache/Config.in
@@ -0,0 +1,30 @@
+# compcache configuration
+
+config COMPCACHE_ENABLE
+ bool "enabled on boot"
+ default n
+ depends on PACKAGE_kmod-compcache
+ help
+ Enables compressed ram swap devices.
+
+config COMPCACHE_RAM_REPORTED
+ string "swap space reported to kernel in kb"
+ depends on PACKAGE_kmod-compcache
+ default "2048"
+ help
+ This is the amount of memory that will be reported
+ to the kernel as swap. The real ram in use will differ,
+ because of lzo compression.
+ Example:
+ 16 MB = 2048 KB
+ 32 MB = 4098 KB
+
+config COMPCACHE_BACKUP_DEV
+ string "Backup device for compcache"
+ depends on PACKAGE_kmod-compcache
+ default ""
+ help
+ Compcache will use this as a backup device for swap.
+ Example:
+ /dev/sda5
+