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
commita8134e221a661d0944d3da33baffcaed51b3328a (patch)
treea45550497196de16d1924cda8399df11a4c64c36 /package/compcache/Config.in
parenta3e05d4f852c31d93468b76658994e2426a5ae68 (diff)
downloadupstream-a8134e221a661d0944d3da33baffcaed51b3328a.tar.gz
upstream-a8134e221a661d0944d3da33baffcaed51b3328a.tar.bz2
upstream-a8134e221a661d0944d3da33baffcaed51b3328a.zip
[package] update compcache to 0.5.4 (#6018)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18512 3c298f89-4303-0410-b956-a3cf2f4a3e73
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
+