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.in29
1 files changed, 29 insertions, 0 deletions
diff --git a/package/compcache/Config.in b/package/compcache/Config.in
new file mode 100644
index 000000000..b5f75d00d
--- /dev/null
+++ b/package/compcache/Config.in
@@ -0,0 +1,29 @@
+menu "Configuration"
+ depends on PACKAGE_compcache
+
+config COMPCACHE_ENABLE
+ bool "enabled on boot"
+ default n
+ help
+ Enables compressed ram swap devices.
+
+config COMPCACHE_RAM_REPORTED
+ string "swap space reported to kernel in kb"
+ 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"
+ default ""
+ help
+ Compcache will use this as a backup device for swap.
+ Example:
+ /dev/sda5
+
+endmenu