mm: only mark/clear KHO scratch memory when needed
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 6 repliesIn review
- v22 patches 7 repliesSuperseded
- v11 patch 4 repliesSuperseded
Changes in v3 from the cover letter
- is_kho_boot already has stubs when CONFIG_KEXEC_HANDOVER=n, no need to move the functions under CONFIG_KEXEC_HANDOVER (Pratyush Yadav)
- Commit messsage improvements
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mm/memblock: remove CONFIG_MEMBLOCK_KHO_SCRATCH optioninclude/ kernel/ mm/ +1 more | +3 | 0 replies | |
| 2/2 | mm/memblock: only mark/clear KHO scratch memory when neededmm/ | +9 | 6 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Pratyush Yadav | Kiryl Shutsemau |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/2] mm: only mark/clear KHO scratch memory when needed
The scratch memory for kexec handover is used to bootstrap the kexec'ed kernel. Only the 1st 1MB is used as scratch, and its a hack to get around limitations with KHO. It is only needed when CONFIG_KEXEC_HANDOVER is enabled and only if it is a KHO boot (both checked by is_kho_boot). Add check to prevent marking a KHO scratch region unless needed.
CONFIG_MEMBLOCK_KHO_SCRATCH is also removed as its only selected by KEXEC_HANDOVER.
v2 -> v3:
- is_kho_boot already has stubs when CONFIG_KEXEC_HANDOVER=n, no need to move the functions under CONFIG_KEXEC_HANDOVER (Pratyush Yadav)
- Commit messsage improvements
v1 -> v2:
- Remove CONFIG_MEMBLOCK_KHO_SCRATCH (Kiryl Shutsemau)
- Move memblock_mark/clear_kho_scratch under alread existing CONFIG_KEXEC_HANDOVER in memblock.c.
Usama Arif (2):
mm/memblock: remove CONFIG_MEMBLOCK_KHO_SCRATCH option mm/memblock: only mark/clear KHO scratch memory when needed
include/linux/memblock.h | 2 +- kernel/Kconfig.kexec | 1 - mm/Kconfig | 4 ---- mm/memblock.c | 18 +++++++++++------- 4 files changed, 12 insertions(+), 13 deletions(-)
Signature · 1 line
2.47.3