By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Linux 6.17 Making Kdump Crash Kernel More Reliable, Less Wasted Memory
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > Linux 6.17 Making Kdump Crash Kernel More Reliable, Less Wasted Memory
Computing

Linux 6.17 Making Kdump Crash Kernel More Reliable, Less Wasted Memory

News Room
Last updated: 2025/08/04 at 7:44 AM
News Room Published 4 August 2025
Share
SHARE

In addition to the many MM changes merged this weekend for Linux 6.17, Andrew Morton on Sunday also sent out his “non-MM” pull request for this new kernel. Notable there is improving the Kdump code to allow for crash kernel reservation made from the contiguous memory allocator to help yield less wasted RAM and greater reliability.

The patches merged for Linux 6.17 allow for the Kdump crashkernel reservation from CMA to be dynamically allocated rather than currently relying on static allocation. Jiri Bohac of SUSE explained in the patch series working on this functionality:

“Currently, all the memory for the crash kernel is not usable by the 1st (production) kernel. It is also unmapped so that it can’t be corrupted by the fault that will eventually trigger the crash. This makes sense for the memory actually used by the kexec-loaded crash kernel image and initrd and the data prepared during the load (vmcoreinfo, …). However, the reserved space needs to be much larger than that to provide enough run-time memory for the crash kernel and the kdump userspace. Estimating the amount of memory to reserve is difficult. Being too careful makes kdump likely to end in OOM, being too generous takes even more memory from the production system. Also, the reservation only allows reserving a single contiguous block (or two with the “low” suffix). I’ve seen systems where this fails because the physical memory is fragmented.

By reserving additional crashkernel memory from CMA, the main crashkernel reservation can be just large enough to fit the kernel and initrd image, minimizing the memory taken away from the production system. Most of the run-time memory for the crash kernel will be memory previously available to userspace in the production system. As this memory is no longer wasted, the reservation can be done with a generous margin, making kdump more reliable. Kernel memory that we need to preserve for dumping is normally not allocated from CMA, unless it is explicitly allocated as movable. Currently this is only the case for memory ballooning and zswap. Such movable memory will be missing from the vmcore. User data is typically not dumped by makedumpfile. When dumping of user data is intended this new CMA reservation cannot be used.”

With the non-MM updates merged for Linux 6.17, this crashkernel CMA reservation is working for Linux x86/x86_64-based kernels. This code was nearly two years in the making so it’s nice to see it cross the finish line in Linux 6.17.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Will the Pixel 10a arrive with the Pixel 10? Don’t get your hopes up
Next Article One of the latest models in my favourite gaming laptop series is down by over $200
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Lyft and Baidu Plan to Launch Robotaxis in Europe Next Year
News
Poco Teases New Budget Smartphone With Premium Features, Likely M7 Plus: All Details Here
Mobile
3 things to know absolutely before the return of the Netflix series
Mobile
How to Create Winning Marketing Strategies for Real Estate Agents
Computing

You Might also Like

Computing

How to Create Winning Marketing Strategies for Real Estate Agents

35 Min Read
Computing

Customer Engagement Metrics: Types, Measurement, and How to Leverage Them for Content Optimization | HackerNoon

12 Min Read
Computing

Vietnamese Hackers Use PXA Stealer, Hit 4,000 IPs and Steal 200,000 Passwords Globally

4 Min Read
Computing

From Army diver to carbon capture: How a Pacific deployment sparked a veteran’s climate mission

5 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?