On Tue, 2 Oct 2012, Glauber Costa wrote: > #include <linux/kmemleak.h> > > +#define SLAB_AVAILABLE_FLAGS 0xFFFFFFFFUL /* No flag restriction */ > + > enum stat_item { I thought the SLAB_AVAILABLE_FLAGS would stand for something meaningful like the flags supported by an allocator given a kernel config. F.e. SLUB does not support the debug flags if not compiled with debug. This looks like it could become material that would fit in mm/slab.h. There are sets of flags that all allocators have to support (RCU, DMA etc) and others (like the debug flags) that are optional. Slob also supports some flags but never any of the debug flags. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>