Re: [PATCH 3/4] efi: Support GRUB_MMAP_MALLOC_LOW in the EFI firmware allocator

2013-11-14 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 13.11.2013 04:59, Andrey Borzenkov wrote: > В Tue, 12 Nov 2013 18:26:39 -0800 > Josh Triplett пишет: > >> EFI supports allocating memory below a specified address; use that to >> implement GRUB_MMAP_MALLOC_LOW by requesting memory below 1M. > > Out of curiosity - why would you need it on EFI?

Re: [PATCH 3/4] efi: Support GRUB_MMAP_MALLOC_LOW in the EFI firmware allocator

2013-11-14 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 13.11.2013 03:26, Josh Triplett wrote: > EFI supports allocating memory below a specified address; use that to > implement GRUB_MMAP_MALLOC_LOW by requesting memory below 1M. As discussed on the IRC, using mmap isn't right way to allocate transient low memory space. This would merit a separate f

Re: [PATCH 3/4] efi: Support GRUB_MMAP_MALLOC_LOW in the EFI firmware allocator

2013-11-12 Thread Andrey Borzenkov
В Tue, 12 Nov 2013 18:26:39 -0800 Josh Triplett пишет: > EFI supports allocating memory below a specified address; use that to > implement GRUB_MMAP_MALLOC_LOW by requesting memory below 1M. Out of curiosity - why would you need it on EFI? Your patch does not add any consumer of GRUB_MMAP_MALLOC

[PATCH 3/4] efi: Support GRUB_MMAP_MALLOC_LOW in the EFI firmware allocator

2013-11-12 Thread Josh Triplett
EFI supports allocating memory below a specified address; use that to implement GRUB_MMAP_MALLOC_LOW by requesting memory below 1M. --- ChangeLog entry: 2013-11-13 Josh Triplett * include/grub/efi/memory.h (GRUB_MMAP_MALLOC_LOW): Define. * grub-core/mmap/efi/mmap.c (grub_mmap_