Am 7. Juni 2024 20:52:20 MESZ schrieb Sughosh Ganu <sughosh.g...@linaro.org>: >Add a Kconfig symbol to enable getting updates on any memory map >changes that might be done by some other module. This notification >mechanism can then be used to have a synchronous view of allocated and >free memory. > >Signed-off-by: Sughosh Ganu <sughosh.g...@linaro.org> >--- > lib/Kconfig | 9 +++++++++ > 1 file changed, 9 insertions(+) > >diff --git a/lib/Kconfig b/lib/Kconfig >index 189e6eb31a..9ea02ae006 100644 >--- a/lib/Kconfig >+++ b/lib/Kconfig >@@ -74,6 +74,15 @@ config HAVE_PRIVATE_LIBGCC > config LIB_UUID > bool > >+config MEM_MAP_UPDATE_NOTIFY >+ bool "Get notified of any changes to the memory map" To the "LMB memory map"? >+ default y if EVENT && LMB && EFI_LOADER I am missing 'depends on EVENT && LMB' here. This should allow to simplify the 'default' statement. But why not use select? Best regards Heinrich >+ help >+ Enable this option to get notification on any changes to the >+ memory that is allocated or freed. This will allow different >+ modules that allocate memory to have a synchronous view of available >+ and allocated memory. >+ > config RANDOM_UUID > bool "GPT Random UUID generation" > select LIB_UUID
- [RFC PATCH 08/31] lmb: replcace the lmb_init_and_reser... Sughosh Ganu
- [RFC PATCH 09/31] lmb: allow for resizing lmb regions Sughosh Ganu
- Re: [RFC PATCH 09/31] lmb: allow for resizing lmb... Ilias Apalodimas
- Re: [RFC PATCH 09/31] lmb: allow for resizing... Sughosh Ganu
- Re: [RFC PATCH 09/31] lmb: allow for resi... Ilias Apalodimas
- Re: [RFC PATCH 09/31] lmb: allow for ... Sughosh Ganu
- Re: [RFC PATCH 09/31] lmb: allow for resi... Heinrich Schuchardt
- Re: [RFC PATCH 09/31] lmb: allow for ... Sughosh Ganu
- [RFC PATCH 10/31] event: add events to notify memory m... Sughosh Ganu
- [RFC PATCH 11/31] lib: Kconfig: add a config symbol fo... Sughosh Ganu
- Re: [RFC PATCH 11/31] lib: Kconfig: add a config ... Heinrich Schuchardt
- Re: [RFC PATCH 11/31] lib: Kconfig: add a con... Heinrich Schuchardt
- Re: [RFC PATCH 11/31] lib: Kconfig: add a config ... Ilias Apalodimas
- Re: [RFC PATCH 11/31] lib: Kconfig: add a con... Sughosh Ganu
- [RFC PATCH 12/31] add a function to check if an addres... Sughosh Ganu
- [RFC PATCH 13/31] efi_memory: notify of any changes to... Sughosh Ganu
- [RFC PATCH 14/31] lmb: notify of any changes to the LM... Sughosh Ganu
- [RFC PATCH 15/31] efi_memory: add an event handler to ... Sughosh Ganu
- Re: [RFC PATCH 15/31] efi_memory: add an event ha... Ilias Apalodimas
- Re: [RFC PATCH 15/31] efi_memory: add an even... Sughosh Ganu
- Re: [RFC PATCH 15/31] efi_memory: add an ... Ilias Apalodimas