tree: git://git.cmpxchg.org/linux-mmotm.git master head: c64429bcc60a702f19f5cfdb5c39277863278a8c commit: 5107bbaaea3690d18d8e36523a3f6c22050d2708 [201/417] slab: link memcg caches of the same kind into a list config: x86_64-allnoconfig (attached as .config) reproduce: git checkout 5107bbaaea3690d18d8e36523a3f6c22050d2708 # save the attached .config to linux build tree make ARCH=x86_64 All warnings: In file included from mm/slab_common.c:26:0: mm/slab_common.c: In function 'kmem_cache_destroy': >> mm/slab.h:259:30: warning: right-hand operand of comma expression has no effect [-Wunused-value] for (iter = NULL, tmp = NULL, (root); 0; ) ^ >> mm/slab_common.c:603:2: note: in expansion of macro 'for_each_memcg_cache_safe' for_each_memcg_cache_safe(c, c2, s) { ^ -- In file included from mm/slub.c:19:0: mm/slub.c: In function '__kmem_cache_alias': >> mm/slab.h:257:18: warning: right-hand operand of comma expression has no effect [-Wunused-value] for (iter = NULL, (root); 0; ) ^ >> mm/slub.c:3652:3: note: in expansion of macro 'for_each_memcg_cache' for_each_memcg_cache(c, s) { ^ vim +259 mm/slab.h 251 252 extern void slab_init_memcg_params(struct kmem_cache *); 253 254 #else /* !CONFIG_MEMCG_KMEM */ 255 256 #define for_each_memcg_cache(iter, root) \ > 257 for (iter = NULL, (root); 0; ) 258 #define for_each_memcg_cache_safe(iter, tmp, root) \ > 259 for (iter = NULL, tmp = NULL, (root); 0; ) 260 261 static inline bool is_root_cache(struct kmem_cache *s) 262 { --- 0-DAY kernel test infrastructure Open Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation