tree: git://git.cmpxchg.org/linux-mmotm.git master head: 4873e01c1a932866e01a6ecd91b39d45a8efd8e7 commit: 9f3ee6d5fef72724587d8934583b3994679c4e40 [143/283] slab: recharge slab pages to the allocating memory cgroup config: sh-titan_defconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 9f3ee6d5fef72724587d8934583b3994679c4e40 # save the attached .config to linux build tree make.cross ARCH=sh All error/warnings: mm/slab.c: In function 'slab_alloc': >> mm/slab.c:3260:4: error: implicit declaration of function 'slab_free' [-Werror=implicit-function-declaration] mm/slab.c: At top level: >> mm/slab.c:3534:122: warning: conflicting types for 'slab_free' [enabled by default] >> mm/slab.c:3534:122: error: static declaration of 'slab_free' follows non-static declaration mm/slab.c:3260:4: note: previous implicit declaration of 'slab_free' was here cc1: some warnings being treated as errors vim +/slab_free +3260 mm/slab.c 3254 3255 if (likely(objp)) { 3256 kmemcheck_slab_alloc(cachep, flags, objp, cachep->object_size); 3257 if (unlikely(flags & __GFP_ZERO)) 3258 memset(objp, 0, cachep->object_size); 3259 if (unlikely(memcg_kmem_recharge_slab(objp, flags))) { > 3260 slab_free(cachep, objp); 3261 objp = NULL; 3262 } 3263 } --- 0-DAY kernel test infrastructure Open Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation