You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

83 lines
2.3 KiB

menuconfig SUPPORT_CA
bool "Support CA"
default n
help
If support ca, user privileges will be limit.
select y, support ca, otherwise not support ca.
config CA_SUPPORT_ADVCA
bool "Support advca"
depends on SUPPORT_CA
select CA_NET_CONFIG
select CA_FILE_AUTHORITY
default n
help
support advca, which is the real CA.
config CA_WARKUP_CHECK
bool "Support CA wakeup ddr check"
depends on SUPPORT_CA
default n
help
support ca suspend get hash value, and wakeup check ddr.
config CA_FILE_AUTHORITY
bool
default n
help
support advca file authority.
config CA_NET_CONFIG
bool
default n
help
support advca net config.
config VM_MIN_FREE_KBYTES
int "config min_free_kbytes"
default 0
help
This is used to force the Linux VM to keep a minimum number, of kilobytes free.
The VM uses this number to compute a watermark[WMARK_MIN] value for each lowmem
zone in the system. Each lowmem zone gets a number of reserved free pages based
proportionally on its size.
Some minimal amount of memory is needed to satisfy PF_MEMALLOC allocations;
if you set this to lower than 1024KB, your system will become subtly broken,
and prone to deadlock under high loads.
Setting this too high will OOM your machine instantly.
Move from proc filesystem to Kconfig
CA need close some proc.
config VM_OVERCOMMIT_GUESS
int "config overcommit_guess"
default 0
help
This value contains a flag that enables memory overcommitment.
When this flag is 0, the kernel attempts to estimate the amount of free memory
left when userspace requests more memory.
When this flag is 1, the kernel pretends there is always enough memory until
it actually runs out.
When this flag is 2, the kernel uses a "never overcommit" policy that attempts
to prevent any overcommit of memory.
This feature can be very useful because there are a lot of programs that malloc()
huge amounts of memory "just-in-case" and don't use much of it.
See Documentation/vm/overcommit-accounting and security/commoncap.c::cap_vm_enough_memory()
for more information.
config VM_DIRTY_RATIO
int "config dirty_ratio"
default 20
help
Contains, as a percentage of total system memory, the number of pages at which a
process which is generating disk writes will itself start writing out dirty data.