All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Knorr <kraxel@suse.de>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com, Steven Hand <Steven.Hand@cl.cam.ac.uk>
Subject: Re: bug: slab corruption (net backend?)
Date: Thu, 7 Jul 2005 14:22:42 +0200	[thread overview]
Message-ID: <20050707122242.GA31229@bytesex> (raw)
In-Reply-To: <f9095f4e739734ec5b54796ebe6f31ae@cl.cam.ac.uk>

> >Looks like xen allocates via kmem_cache_alloc() and releases via
> >kfree(), which is illegal according to a comment in mm/slab.c

Actually this isn't in arch/xen code, so native linux probably
does the same.

> I think this works because kfree calls  kmem_cache_free after finding 
> the cache pointer it has squirreled away.

Hmm, maybe the comment is outdated then ...

  Gerd

-- 
panic("it works"); /* avoid being flooded with debug messages */

  reply	other threads:[~2005-07-07 12:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-07  9:41 bug: slab corruption (net backend?) Gerd Knorr
2005-07-07 10:11 ` Steven Hand
2005-07-07 11:35   ` Gerd Knorr
2005-07-07 12:05     ` Keir Fraser
2005-07-07 12:22       ` Gerd Knorr [this message]
2005-07-07 12:48         ` Gerd Knorr
2005-07-07 13:17         ` Gerd Knorr
2005-07-07 14:05           ` Keir Fraser
2005-07-07 14:18             ` Gerd Knorr
2005-07-07 14:41               ` Gerd Knorr
2005-07-07 16:06           ` Nivedita Singhvi
2005-07-11 13:25             ` Gerd Knorr
2005-07-11 13:37               ` Keir Fraser
2005-07-11 14:29                 ` Bin Ren
2005-07-07 15:54 ` Gerd Knorr

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=20050707122242.GA31229@bytesex \
    --to=kraxel@suse.de \
    --cc=Keir.Fraser@cl.cam.ac.uk \
    --cc=Steven.Hand@cl.cam.ac.uk \
    --cc=xen-devel@lists.xensource.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.