mbox series

[-next,v3,0/2] Fix crash memory reserve exceed system memory bug

Message ID 20240717075439.2705552-1-ruanjinjie@huawei.com (mailing list archive)
Headers show
Series Fix crash memory reserve exceed system memory bug | expand

Message

Jinjie Ruan July 17, 2024, 7:54 a.m. UTC
On x86_32 and arm32, the crash memory reserve may exceed system memory
and display "reserved ok", fix it.

changes in v3:
- Handle the check in reserve_crashkernel() Baoquan suggested.
- Split x86_32 and arm32.
- Add Suggested-by.
- Drop the wrong fix tag.

changes in v2:
- Also fix for x86_32.
- Update the fix method.
- Peel off the other two patches.
- Update the commit message.

Jinjie Ruan (2):
  x86/kexec: Fix crash memory reserve exceed system memory bug
  ARM: Fix crash memory reserve exceed system memory bug

 arch/arm/kernel/setup.c | 5 +++++
 arch/x86/kernel/setup.c | 5 +++++
 2 files changed, 10 insertions(+)