Re: 2.5.39 kmem_cache bug

John Levon (movement@marcelothewonderpenguin.com)
Sat, 28 Sep 2002 22:23:08 +0100


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/