On Wed, 7 Jan 2015, Bryton Lee wrote: > move MACRO SLAB_NEVER_MERGE and SLAB_MERGE_SAME from file mm/slab_common.c > to file linux/slab.h. > let other kernel code create slab can use these flags. This does not make sense. The fact that a slab has been merged is available from a field in the kmem_cache structure (aliases). These two macros are criteria for the slab allocators to perform merges. The merge decision is the slab allocators decision and not the decision of other kernel code. -- 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>