On Tue, Sep 06, 2022 at 04:22:54PM +0800, Gary Lin via Grub-devel wrote: > The current default heap size (1MB) is too small for some cases and > causes noticeable delays when loading files. This patch series > reimplements the previous heap size setting to allocate a larger > heap to avoid the some possible delays. >
I found that it's not necessary to extract the function and some duplicate code can be avoided. Will send a V2. Please ignore this one. Gary Lin > Gary Lin (2): > kern/efi/mm: Extract function to get the filtered memory map > kern/efi/mm: Allocate the initial heap based on the available memory > > grub-core/kern/efi/mm.c | 134 +++++++++++++++++++++++++++++++++------- > 1 file changed, 112 insertions(+), 22 deletions(-) > > -- > 2.35.3 > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel