[edk2-devel] [PATCH V2 14/14] MdeModulePkg: Pool and page functions accept memory when OOM occurs

Min Xu min.m.xu at intel.com
Tue Aug 30 07:30:47 UTC 2022


On August 30, 2022 3:12 PM, Ni Ray wrote:
> 
> I saw the justification of this is to support different size of Linux kernel
> images.
> But that's after TD DXE driver.
> For code running before TD DXE driver, the memory needs is predicable,
> right?
That's right. The memory before loading linux kernel is predicable.
To support different size of linux kernel, there are hot discussions in EDK2/QEMU/LinuxKernel communities. There is a summary of the discussion in this link https://edk2.groups.io/g/devel/message/92332

I am also nervous to change in the fundamental memory allocation service (MdeModulePkg/Core/Dxe/Mem).
Another option is that in current stage we accept memories under 4G and so that we can drop this patch (Pool and page functions accept memory when OOM occurs).

What's your thoughts?

Thanks
Min


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#92963): https://edk2.groups.io/g/devel/message/92963
Mute This Topic: https://groups.io/mt/93285612/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list