On August 30, 2022 8:29 AM, Ni, Ray wrote:
> Can you please explain more about this patch?
> I am a little nervous when seeing patches that change the fundamental
> memory services.
> 
With the introduction of lazy-page-accept, the OUT_OF_RESOURCE may occur in 
Memory Allocation logic (MdeModulePkg/Core/Dxe/Mem). To address this issue, 
this patch update the CoreAllocatePages()/CoreAllocatePool() so that when 
OUT_OF_RESOURCE is triggered, we can accept more unaccepted-memory with the 
help of EdkiiMemoryAcceptProtocol. 

Please refer to slide7-10 in 
https://edk2.groups.io/g/devel/files/Designs/2021/0830/ . It describes how the 
AcceptMemoryResource works.

You can also refer to the discussion in 
https://edk2.groups.io/g/devel/message/79971.

Thanks
Min


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#92958): https://edk2.groups.io/g/devel/message/92958
Mute This Topic: https://groups.io/mt/93285612/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to