Re: [PATCH] mm: move MACRO SLAB_NEVER_MERGE and SLAB_MERGE_SAME to file linux/slab.h

2015-01-21 Thread David Rientjes
On Wed, 7 Jan 2015, Bryton Lee wrote: > thanks for review my patch. > > I want to move these macros to linux/slab.h cause I don't want perform > merge in slab level. for example. ss read /proc/slabinfo to finger out > how many requests pending in the TCP listern queue. it use slabe name >

Re: [PATCH] mm: move MACRO SLAB_NEVER_MERGE and SLAB_MERGE_SAME to file linux/slab.h

2015-01-21 Thread David Rientjes
On Wed, 7 Jan 2015, Bryton Lee wrote: thanks for review my patch. I want to move these macros to linux/slab.h cause I don't want perform merge in slab level. for example. ss read /proc/slabinfo to finger out how many requests pending in the TCP listern queue. it use slabe name

Re: [PATCH] mm: move MACRO SLAB_NEVER_MERGE and SLAB_MERGE_SAME to file linux/slab.h

2015-01-06 Thread Christoph Lameter
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

Re: [PATCH] mm: move MACRO SLAB_NEVER_MERGE and SLAB_MERGE_SAME to file linux/slab.h

2015-01-06 Thread Christoph Lameter
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