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

Skip to content
Commit e8692ede authored by Sudarshan Rajagopalan's avatar Sudarshan Rajagopalan
Browse files

defconfig: sm8150: Override memory limit set by boot parameter



To guarantee successful hot-plugging of memory blocks, these blocks
should belong to ZONE_MOVABLE which has migratable pages. Linux kernel
during boot initializes all the available memory blocks to ZONE_DMA and
ZONE_NORMAL. Hence, boot the system with less memory whose percentage
is given by mem-offline DT property 'mem-percent' and override any memory
limit imposed by kernel boot params and let mem-offline driver initialize
the remaining with ZONE_MOVABLE. The memory blocks in this zone are
applicable for memory offlining.

Change-Id: Idee5bf206869fca6e8749ee01061113ddf82c3ef
Signed-off-by: default avatarSudarshan Rajagopalan <sudaraja@codeaurora.org>
parent d6081196
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment