[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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




On 7 Jul 2005, at 12:35, Gerd Knorr wrote:

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

Seems to work nevertheless, but maybe it's pure luck and we'll
hit a bug sooner or later.  I'll try fix this and see if the
problem goes away then ...

I think this works because kfree calls kmem_cache_free after finding the cache pointer it has squirreled away. Where do we do this in XenLinux? Maybe there was a reason I did it that way. :-)

 -- Keir


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.