WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] bug: slab corruption (net backend?)

> >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 */

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel