Re: 2.5.39 kmem_cache bug

From: John Levon (movement@marcelothewonderpenguin.com)
Date: Sat Sep 28 2002 - 16:23:08 EST


On Sat, Sep 28, 2002 at 01:56:55PM -0700, Andrew Morton wrote:

> if (list_empty(&cachep->slabs_free))
> list_add(&slabp->list, &cachep->slabs_free);
> else
> kmem_slab_destroy(cachep, slabp);

This seems to work for me on a quick test.

thanks
john

-- 
"When your name is Winner, that's it. You don't need a nickname."
	- Loser Lane
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Sep 30 2002 - 22:00:38 EST