Hi Penny,

On 16/08/2022 03:36, Penny Zheng wrote:
Today when a domain unpopulates the memory on runtime, they will always
hand the memory back to the heap allocator. And it will be a problem if domain
is static.

Pages as guest RAM for static domain shall be reserved to only this domain
and not be used for any other purposes, so they shall never go back to heap
allocator.

This commit puts reserved pages on the new list resv_page_list only after
having taken them off the "normal" list, when the last ref dropped.

Signed-off-by: Penny Zheng <penny.zh...@arm.com>

Other than Jan's comment:

Acked-by: Julien Grall <jgr...@amazon.com>

AFAICT, patch #2 needs some tweak. So I assuming this will need a respin. If not, I can possibly handle the change while committing if you provide a new version of the commit message.

Cheers,

--
Julien Grall

Reply via email to