aboutsummaryrefslogtreecommitdiffstats
path: root/package/compcache/Config.in
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-11-23 22:30:42 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-11-23 22:30:42 +0000
commit1f24cd1700272f566ece8cbcde509494ccb894d0 (patch)
treeace4e1d121694a6cf16ad11ae41b423e260496f3 /package/compcache/Config.in
parent9fce92753fbaf50f800e991a20f697566374f7e8 (diff)
downloadupstream-1f24cd1700272f566ece8cbcde509494ccb894d0.tar.gz
upstream-1f24cd1700272f566ece8cbcde509494ccb894d0.tar.bz2
upstream-1f24cd1700272f566ece8cbcde509494ccb894d0.zip
update compcache to 0.5.4 (#6018)
SVN-Revision: 18512
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
+