[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 10/19] efi: mm: Always request a fixed number of pages on ini
From: |
Daniel Kiper |
Subject: |
Re: [PATCH 10/19] efi: mm: Always request a fixed number of pages on init |
Date: |
Tue, 9 Nov 2021 14:32:54 +0100 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Tue, Oct 12, 2021 at 06:29:59PM +1100, Daniel Axtens wrote:
> From: Patrick Steinhardt <ps@pks.im>
>
> When initializing the EFI memory subsytem, we will by default request a
> quarter of the available memory, bounded by a minimum/maximum value.
> Given that we're about to extend the EFI memory system to dynamically
> request additional pages from the firmware as required, this scaling of
> requested memory based on available memory will not make a lot of sense
> anymore.
>
> Remove this logic as a preparatory patch such that we'll instead defer
> to the runtime memory allocator. Note that ideally, we'd want to change
> this after dynamic requesting of pages has been implemented for the EFI
> platform. But because we'll need to split up initialization of the
> memory subsystem and the request of pages from the firmware, we'd have
> to duplicate quite some logic at first only to remove it afterwards
> again. This seems quite pointless, so we instead have patches slightly
> out of order.
>
> Signed-off-by: Patrick Steinhardt <ps@pks.im>
Please add your SOB here.
Otherwise Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Daniel
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH 10/19] efi: mm: Always request a fixed number of pages on init,
Daniel Kiper <=