Re: [PATCH 0/2] Adjust the default heap size for EFI

2022-09-06 Thread Gary Lin via Grub-devel
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

Re: [PATCH v6 2/2] cryptodisk: Allows UUIDs to be compared in a dash-insensitive manner

2022-09-06 Thread Patrick Steinhardt
On Tue, Aug 30, 2022 at 03:12:36PM -0500, Glenn Washburn wrote: > On Mon, 29 Aug 2022 07:38:24 +0200 > Patrick Steinhardt wrote: > > > On Fri, Aug 19, 2022 at 06:06:15PM -0500, Glenn Washburn wrote: > > > A user can now specify UUID strings with dashes, instead of having to > > > remove > > > da

[PATCH 2/2] kern/efi/mm: Allocate the initial heap based on the available memory

2022-09-06 Thread Gary Lin via Grub-devel
We currently request 1MB memory as the initial heap and then request pages on demand. However, it caused some noticeable delays(*) due to the small heap size. To mitigate the delays, this patch reimplements the previous heap size: a quarter of the available memory. The setting may not be ideal but

[PATCH 0/2] Adjust the default heap size for EFI

2022-09-06 Thread Gary Lin via Grub-devel
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. Gary Lin (2): kern/efi/mm: Extract function to get the filte

[PATCH 1/2] kern/efi/mm: Extract function to get the filtered memory map

2022-09-06 Thread Gary Lin via Grub-devel
In preparation for setting the default memory region size based on the available memory, this patch extracts the logic to get the filtered memory map from grub_efi_mm_add_regions() so that we can reuse it later. Signed-off-by: Gary Lin --- grub-core/kern/efi/mm.c | 53 ++-