Category: Linux kernel

kmemcheck Aiming For Mainline Inclusion | KernelTrap

“I skipped the public announcements for versions 5 and 6, but here is 7 :),” noted Vegard Nossum, announcing the latest release of his kmemcheck patch, currently applying against the 2.6.25-rc8 kernel. Vegard noted he is now hoping to get the patch merged into the mainline kernel during the upcoming 2.6.26 merge window.

“kmemcheck is a patch to the linux kernel that detects use of uninitialized memory. It does this by trapping every read and write to memory that was allocated dynamically (e.g. using kmalloc()). If a memory address is read that has not previously been written to, a message is printed to the kernel log.”

kmemcheck Aiming For Mainline Inclusion | KernelTrap

Blogged with the Flock Browser

Suspend and Freeze Paths | KernelTrap

Issues reported during the suspend-to-disk process lead Linux creator Linus Torvalds to suggest, “please – just make the f*cking suspend-to-disk use other routines already. 99% of all hardware needs to do exactly *nothing* on suspend-to-disk, and the ones that really do need things tend to need to not do a whole lot.” He went on to explain why sharing the code path for suspend-to-disk and freezing to RAM is wrong:

Suspend and Freeze Paths | KernelTrap

Blogged with Flock