[bug #64471] grub efi memory allocation (efi/mm) does not work on every machine

Alexey Kuznetsov <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.bugs
Message-ID <[email protected]>
Follow-up Comment #9, bug #64471 (project grub):

I guess we need smi-automatic GRUB_EFI_MAX_USABLE_ADDRESS variable.

If we have enough memory from low memory segment (<4GB), then use it. If we
have no memory and grub about to return out of memory error, instead crashing,
why not to try allocate from upper address region (4GB+) and lets hope for the
best?

Basically we need new allocation algorithm, filter_memory_map should not
filter based on address, and grub_efi_allocate_pages_real should be smart to
allocate from different regions low and high.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64471>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.