Re: [RFC PATCH 3/3] efi: mm: implement runtime addition of pages

2020-06-02 Thread Vladimir 'phcoder' Serbinenko
On Mon, Jun 1, 2020, 21:34 Patrick Steinhardt wrote: > Adjust the interface of `grub_efi_mm_add_regions ()` to take a set of > `GRUB_MM_REGION_*` flags, which most notably is currently only the > `CONSECUTVE` flag. This allows us to set the function up as callback for > the memory subsystem and h

[RFC PATCH 3/3] efi: mm: implement runtime addition of pages

2020-06-01 Thread Patrick Steinhardt
Adjust the interface of `grub_efi_mm_add_regions ()` to take a set of `GRUB_MM_REGION_*` flags, which most notably is currently only the `CONSECUTVE` flag. This allows us to set the function up as callback for the memory subsystem and have it call out to us in case there's not enough pages availabl