Re: [PATCH] mm/slab: add a leak decoder callback

From: Zach Brown
Date: Tue Jan 15 2013 - 12:00:54 EST


> The merge processing occurs during kmem_cache_create and you are setting
> up the decoder field afterwards! Wont work.

In the thread I suggested providing the callback at destruction:

http://www.mail-archive.com/linux-btrfs@xxxxxxxxxxxxxxx/msg21130.html

I liked that it limits accesibility of the callback to the only path
that uses it.

- z
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/