[ANNOUNCE] kmemcheck v7

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linux Kernel Mailing List <linux-kernel@...>
Cc: Pekka Enberg <penberg@...>, Ingo Molnar <mingo@...>, Peter Zijlstra <a.p.zijlstra@...>, Paul E. McKenney <paulmck@...>, Christoph Lameter <clameter@...>, Daniel Walker <dwalker@...>, Andi Kleen <andi@...>, Randy Dunlap <randy.dunlap@...>, Josh Aune <luken@...>, Pekka Paalanen <pq@...>
Date: Friday, April 4, 2008 - 9:44 am

Hi,

I skipped the public announcements for versions 5 and 6, but here is 7 :)

General description: 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.

Changes since v4 (rough list):
- SLUB parts were broken-out into its own file to avoid cluttering the main
   SLUB code.
- A rather lot of cleanups, including removing #ifdefs from arch code.
- Some preparation in anticipation of an x86_64 port.
- Make reporting safer by using a periodic timer to inspect the error queue.
- Fix hang due to page flags changing too early on free().
- Fix hang due to kprobes incompatibility.
- Allow CONFIG_SMP, but limit number of CPUs to 1 at run-time.
- Add kmemcheck=0|1 boot option.
- Add /proc/sys/kernel/kmemcheck for run-time enabling/disabling.


These patches apply to Linus's v2.6.25-rc8. The latest patchset can also be
found here: http://folk.uio.no/vegardno/linux/kmemcheck/

(I will try to submit this for inclusion in 2.6.26, and testing and feedback
is of course very welcome!)

I would like to thank the following people, who provided patches or helped
in various ways:

Ingo Molnar
Paul McKenney
Pekka Enberg
Pekka Paalanen
Peter Zijlstra
Randy Dunlap


Kind regards,
Vegard Nossum
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[ANNOUNCE] kmemcheck v7, Vegard Nossum, (Fri Apr 4, 9:44 am)
Re: [ANNOUNCE] kmemcheck v7, Bart Van Assche, (Sat May 10, 5:07 am)
Re: [ANNOUNCE] kmemcheck v7, Pekka Enberg, (Sat May 10, 5:06 am)
Re: [ANNOUNCE] kmemcheck v7, Bart Van Assche, (Sat May 10, 7:04 am)
Re: [ANNOUNCE] kmemcheck v7, Vegard Nossum, (Sat May 10, 8:02 am)
Re: [ANNOUNCE] kmemcheck v7, John Reiser, (Sun May 11, 8:08 am)
Re: [ANNOUNCE] kmemcheck v7, Jeremy Fitzhardinge, (Sat May 10, 1:17 pm)
Re: [ANNOUNCE] kmemcheck v7, Jeff Dike, (Sat May 10, 4:35 pm)
Re: [ANNOUNCE] kmemcheck v7, John Reiser, (Sun May 11, 7:23 am)
Re: [ANNOUNCE] kmemcheck v7, Bart Van Assche, (Sat May 10, 9:29 am)
Re: [ANNOUNCE] kmemcheck v7, Andi Kleen, (Sat May 10, 8:37 am)
Re: [ANNOUNCE] kmemcheck v7, Jeremy Fitzhardinge, (Sat May 10, 1:17 pm)
Re: [ANNOUNCE] kmemcheck v7, Andi Kleen, (Sat May 10, 1:48 pm)
Re: [ANNOUNCE] kmemcheck v7, Jeremy Fitzhardinge, (Sat May 10, 4:45 pm)
Re: [ANNOUNCE] kmemcheck v7, John Reiser, (Sat May 10, 5:29 pm)
Re: [ANNOUNCE] kmemcheck v7, Jeremy Fitzhardinge, (Sat May 10, 7:05 pm)
Re: [ANNOUNCE] kmemcheck v7, Andi Kleen, (Sat May 10, 5:31 pm)
Re: [ANNOUNCE] kmemcheck v7, Jeremy Fitzhardinge, (Sat May 10, 6:59 pm)
Re: [ANNOUNCE] kmemcheck v7, Bart Van Assche, (Sat May 10, 9:22 am)
[PATCH 3/3] slub: add hooks for kmemcheck, Vegard Nossum, (Fri Apr 4, 9:47 am)
[PATCH 2/3] x86: add hooks for kmemcheck, Vegard Nossum, (Fri Apr 4, 9:46 am)
[PATCH 1/3] kmemcheck: add the kmemcheck core, Vegard Nossum, (Fri Apr 4, 9:45 am)