Commit 417ac617 authored by Sudarshan Rajagopalan's avatar Sudarshan Rajagopalan Committed by Suren Baghdasaryan
Browse files

ANDROID: mm/memory_hotplug: implement {add/remove}_memory_subsection



Memory hotplugging is allowed only for multiples of section sizes.
Section size could be huge (ex. 1GB for arm64 targets) thus limiting
to add/remove lower chunks of memory. This patch allows drivers to add
memory of subsection sizes which are then added to memblock. This does
not create a separate memblock device nodes for newly added subsections
until the whole of the memblock section is added.

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