mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Jeff Dike <jdike@karaya.com>
Cc: John Reiser <jreiser@BitWagon.com>,
	Linux Kernel List <linux-kernel@vger.kernel.org>,
	Julian Seward <jseward@acm.org>
Subject: Re: Valgrind meets UML
Date: 20 Dec 2002 23:32:21 -0800	[thread overview]
Message-ID: <1040455941.1841.123.camel@ixodes.goop.org> (raw)
In-Reply-To: <200212210249.VAA04704@ccure.karaya.com>

On Fri, 2002-12-20 at 18:49, Jeff Dike wrote:
> jreiser@BitWagon.com said:
> > I suggest that useful partial progress can be made sooner by
> > identifying the allocators, telling valgrind about them and their
> > external semantics, and having valgrind trust them.  
> 
> This is likely what will happen anyway.  It will likely generate noise
> from inside the allocators until they are described.

It probably won't be the allocators which generate warnings.  The main
problem will be that newly allocated memory will still be considered
initialized by its previous owner.  Also, if UML allocates memory using
mmap, all memory will be considered to be initialized.

> > Waiting for the globally correct description can take a long time,
> > perhaps about as long as waiting for the authors of device drivers to
> > update to a new device I/O model.
> 
> Nonsense.  They aren't going to be that complicated, and they don't change
> very often anyway.

Doing a few base-level allocators first (get_free_page, kmalloc) will
find lots of problems, then you can start refining to the more
specialized allocators.

	J


  reply	other threads:[~2002-12-21  7:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-20  2:41 Jeff Dike
2002-12-20 15:26 ` John Reiser
2002-12-20 22:58   ` Jeff Dike
2002-12-20 23:32     ` John Reiser
2002-12-21  2:49       ` Jeff Dike
2002-12-21  7:32         ` Jeremy Fitzhardinge [this message]
2002-12-21 16:05           ` Jeff Dike
2002-12-21 14:40 ` John Reiser
2002-12-21 16:07   ` Jeff Dike
2002-12-21 16:15     ` John Reiser
2002-12-21 18:57       ` Jeff Dike
2002-12-21 19:07   ` Jeremy Fitzhardinge

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=1040455941.1841.123.camel@ixodes.goop.org \
    --to=jeremy@goop.org \
    --cc=jdike@karaya.com \
    --cc=jreiser@BitWagon.com \
    --cc=jseward@acm.org \
    --cc=linux-kernel@vger.kernel.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

Powered by JetHome