Kconfig (d94e5fcbf1420366dcb4102bafe04dbcfc0d0d4b) | Kconfig (c73602ad31cdcf7e6651f43d12f65b5b9b825b6f) |
---|---|
1config SELECT_MEMORY_MODEL 2 def_bool y 3 depends on EXPERIMENTAL || ARCH_SELECT_MEMORY_MODEL 4 5choice 6 prompt "Memory model" 7 depends on SELECT_MEMORY_MODEL 8 default DISCONTIGMEM_MANUAL if ARCH_DISCONTIGMEM_DEFAULT --- 210 unchanged lines hidden (view full) --- 219 depends on MMU 220 help 221 Enable Kernel Samepage Merging: KSM periodically scans those areas 222 of an application's address space that an app has advised may be 223 mergeable. When it finds pages of identical content, it replaces 224 the many instances by a single resident page with that content, so 225 saving memory until one or another app needs to modify the content. 226 Recommended for use with KVM, or with other duplicative applications. | 1config SELECT_MEMORY_MODEL 2 def_bool y 3 depends on EXPERIMENTAL || ARCH_SELECT_MEMORY_MODEL 4 5choice 6 prompt "Memory model" 7 depends on SELECT_MEMORY_MODEL 8 default DISCONTIGMEM_MANUAL if ARCH_DISCONTIGMEM_DEFAULT --- 210 unchanged lines hidden (view full) --- 219 depends on MMU 220 help 221 Enable Kernel Samepage Merging: KSM periodically scans those areas 222 of an application's address space that an app has advised may be 223 mergeable. When it finds pages of identical content, it replaces 224 the many instances by a single resident page with that content, so 225 saving memory until one or another app needs to modify the content. 226 Recommended for use with KVM, or with other duplicative applications. |
227 See Documentation/vm/ksm.txt for more information. | 227 See Documentation/vm/ksm.txt for more information: KSM is inactive 228 until a program has madvised that an area is MADV_MERGEABLE, and 229 root has set /sys/kernel/mm/ksm/run to 1 (if CONFIG_SYSFS is set). |
228 229config DEFAULT_MMAP_MIN_ADDR 230 int "Low address space to protect from user allocation" 231 default 4096 232 help 233 This is the portion of low virtual memory which should be protected 234 from userspace allocation. Keeping a user from writing to low pages 235 can help reduce the impact of kernel NULL pointer bugs. --- 55 unchanged lines hidden --- | 230 231config DEFAULT_MMAP_MIN_ADDR 232 int "Low address space to protect from user allocation" 233 default 4096 234 help 235 This is the portion of low virtual memory which should be protected 236 from userspace allocation. Keeping a user from writing to low pages 237 can help reduce the impact of kernel NULL pointer bugs. --- 55 unchanged lines hidden --- |