mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 08:21:14 +00:00
1f24cd1700
SVN-Revision: 18512
31 lines
711 B
Plaintext
31 lines
711 B
Plaintext
# 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
|
|
|