On March 25, 2025 10:19:53 AM EDT, Pasha Tatashin <pasha.tatas...@soleen.com> wrote: >> To use the code, please boot the kernel with the "kho=on" command line >> parameter. >> KHO will automatically create scratch regions. If you want to set the >> scratch size explicitly you can use "kho_scratch=" command line parameter. >> For instance, "kho_scratch=16M,512M,256M" will reserve a 16 MiB low >> memory scratch area, a 512 MiB global scratch region, and 256 MiB >> per NUMA node scratch regions on boot. > >kho_scratch= is confusing. It should be renamed to what this memory >actually represents, which is memory that cannot be preserved by KHO. > >I suggest renaming all references to "scratch" and this parameter to: > >kho_nopersistent= or kho_nopreserve= I'm leaning towards kho_bootstrap >This way, we can also add checks that early allocations done by the >kernel in this memory do not get preserved. We can also add checks to >ensure that scarce low DMA memory does not get preserved across >reboots, and we avoid adding fragmentation to that region. > >Pasha > -- Sincerely yours, Mike
- Re: [PATCH v5 11/16] kexec: add config option... Baoquan He
- Re: [PATCH v5 11/16] kexec: add config op... Pasha Tatashin
- Re: [PATCH v5 11/16] kexec: add config op... Dave Young
- Re: [PATCH v5 11/16] kexec: add confi... Dave Young
- Re: [PATCH v5 11/16] kexec: add ... Mike Rapoport
- Re: [PATCH v5 11/16] kexec: ... Dave Young
- [PATCH v5 06/16] hashtable: add macro HASHTABLE_INIT Changyuan Lyu
- [PATCH v5 10/16] kexec: add KHO support to kexec file ... Changyuan Lyu
- Re: [PATCH v5 10/16] kexec: add KHO support to ke... Jason Gunthorpe
- Re: [PATCH v5 00/16] kexec: introduce Kexec HandOver (... Pasha Tatashin
- Re: [PATCH v5 00/16] kexec: introduce Kexec HandO... Mike Rapoport
- [PATCH v5 12/16] arm64: add KHO support Changyuan Lyu
- Re: [PATCH v5 12/16] arm64: add KHO support Krzysztof Kozlowski
- Re: [PATCH v5 12/16] arm64: add KHO support Changyuan Lyu
- Re: [PATCH v5 12/16] arm64: add KHO support Krzysztof Kozlowski
- Re: [PATCH v5 12/16] arm64: add KHO support Changyuan Lyu
- [PATCH v5 13/16] x86/setup: use memblock_reserve_kern ... Changyuan Lyu
- [PATCH v5 14/16] x86: add KHO support Changyuan Lyu
- [PATCH v5 02/16] mm/mm_init: rename init_reserved_page... Changyuan Lyu
- Re: [PATCH v5 02/16] mm/mm_init: rename init_rese... Krzysztof Kozlowski
- Re: [PATCH v5 02/16] mm/mm_init: rename init_... Changyuan Lyu