Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 53637e6b authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Kconfig: Add menu choice option to reclaim virtual memory"

parents e9be35ca bc565785
Loading
Loading
Loading
Loading
+29 −0
Original line number Diff line number Diff line
@@ -1717,6 +1717,35 @@ config ARM_MODULE_PLTS
	  Disabling this is usually safe for small single-platform
	  configurations. If unsure, say y.

choice
	prompt "Virtual Memory Reclaim"
	default NO_VM_RECLAIM
	help
	  Select the method of reclaiming virtual memory. Two values
	  are allowed to choose, one is NO_VM_RECLAIM, the other is
	  ENABLE_VMALLOC_SAVING.

	  If you are not absolutely sure what you are doing, leave this
	  option alone.

config ENABLE_VMALLOC_SAVING
	bool "Reclaim memory for each subsystem"
	help
	  Enable this config to reclaim the virtual space belonging
	  to any subsystem which is expected to have a lifetime of
	  the entire system. This feature allows lowmem to be non-
	  contiguous.

config NO_VM_RECLAIM
	bool "Do not reclaim memory"
	help
	  Do not reclaim any memory. This might result in less lowmem
	  and wasting some virtual memory space which could otherwise
	  be reclaimed by using any of the other two config options as
	  above.

endchoice

config FORCE_MAX_ZONEORDER
	int "Maximum zone order"
	default "12" if SOC_AM33XX