From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Dan Kegel <dank@kegel.com>
Cc: linux-kernel@vger.kernel.org, Robert Walsh <rjwalsh@durables.org>
Subject: Re: Valgrinding the kernel?
Date: Thu, 05 Jul 2007 22:44:05 -0700 [thread overview]
Message-ID: <468DD6A5.4020705@goop.org> (raw)
In-Reply-To: <a71bd89a0707052114u28fed408h4326913c502a43ac@mail.gmail.com>
Dan Kegel wrote:
> It'd be nice to see if Valgrind could catch uninitialized
> references in the kernel, if only to see if Coverity is
> missing anything that happens in practice.
>
> Back in December 2002, Valgrind started to run UML:
> http://user-mode-linux.sourceforge.net/diary.html
> http://marc.info/?l=linux-kernel&m=104035199923121&w=2
> but it wasn't quite usable, and it seems broken since then.
> The last note I could find about this was from Jeff In July 2005:
> http://marc.info/?l=linux-kernel&m=112273702329952&w=2
>
> Has there been any motion since then?
Not that I know of. I think all the pieces are in place now. The
original problem was that Valgrind didn't deal with clone and didn't
have accurate signal support. I fixed that. Then the problem was
dealing with the densely packed small kernel stacks. Valgrind now has a
way of registering stack regions, so that it can distinguish between a
stack switch and a normal function call.
So, I think all it needs now is to scatter some valgrind client requests
around the kernel and give it a spin. See, simple ;)
J
next prev parent reply other threads:[~2007-07-06 5:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-06 4:14 Valgrinding the kernel? Dan Kegel
2007-07-06 5:44 ` Jeremy Fitzhardinge [this message]
2007-07-06 17:25 ` Jeff Dike
2007-07-06 17:30 ` Dan Kegel
2007-07-06 19:42 ` Jeff Dike
2007-07-06 19:51 ` Jeremy Fitzhardinge
2007-07-06 21:09 ` Jeff Dike
2007-07-06 18:00 ` Jeremy Fitzhardinge
2007-07-06 19:04 ` Jeff Dike
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=468DD6A5.4020705@goop.org \
--to=jeremy@goop.org \
--cc=dank@kegel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rjwalsh@durables.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox