Re: [PATCH 7/8] pipe: account to kmemcg

From: kbuild test robot
Date: Mon May 23 2016 - 07:53:55 EST


Hi,

[auto build test ERROR on next-20160520]
[cannot apply to tip/x86/core net-next/master v4.6-rc7 v4.6-rc6 v4.6-rc5 v4.6]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Vladimir-Davydov/mm-remove-pointless-struct-in-struct-page-definition/20160523-182939
config: um-x86_64_defconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
# save the attached .config to linux build tree
make ARCH=um SUBARCH=x86_64

Note: the linux-review/Vladimir-Davydov/mm-remove-pointless-struct-in-struct-page-definition/20160523-182939 HEAD 08a247942f52ec5444ba2a0d3c951358640eccf5 builds fine.
It only hurts bisectibility.

All errors (new ones prefixed by >>):

fs/built-in.o: In function `anon_pipe_buf_steal':
>> fs/pipe.c:147: undefined reference to `memcg_kmem_uncharge'
collect2: error: ld returned 1 exit status

vim +147 fs/pipe.c

141 static int anon_pipe_buf_steal(struct pipe_inode_info *pipe,
142 struct pipe_buffer *buf)
143 {
144 struct page *page = buf->page;
145
146 if (page_count(page) == 1) {
> 147 memcg_kmem_uncharge(page, 0);
148 __ClearPageKmemcg(page);
149 __SetPageLocked(page);
150 return 0;

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data