Re: [PATCH 07/10] mm: base LRU balancing on an explicit cost model
From: kbuild test robot <hidden>
Date: 2016-06-06 20:21:36
Also in:
lkml
Hi, [auto build test ERROR on cifs/for-next] [also build test ERROR on v4.7-rc2 next-20160606] [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/Johannes-Weiner/mm-balance-LRU-lists-based-on-relative-thrashing/20160607-035348 base: git://git.samba.org/sfrench/cifs-2.6.git for-next config: s390-default_defconfig (attached as .config) compiler: s390x-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205 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 # save the attached .config to linux build tree make.cross ARCH=s390 All errors (new ones prefixed by >>): mm/memcontrol.c: In function 'memcg_stat_show':
quoted
mm/memcontrol.c:3221:24: error: 'struct lruvec' has no member named 'reclaim_stat'
rstat = &mz->lruvec.reclaim_stat;
^quoted
mm/memcontrol.c:3223:31: error: dereferencing pointer to incomplete type 'struct zone_reclaim_stat'
recent_rotated[0] += rstat->recent_rotated[0];
^
vim +3221 mm/memcontrol.c
7f016ee8 KOSAKI Motohiro 2009-01-07 3215 unsigned long recent_rotated[2] = {0, 0};
7f016ee8 KOSAKI Motohiro 2009-01-07 3216 unsigned long recent_scanned[2] = {0, 0};
7f016ee8 KOSAKI Motohiro 2009-01-07 3217
7f016ee8 KOSAKI Motohiro 2009-01-07 3218 for_each_online_node(nid)
7f016ee8 KOSAKI Motohiro 2009-01-07 3219 for (zid = 0; zid < MAX_NR_ZONES; zid++) {
e231875b Jianyu Zhan 2014-06-06 3220 mz = &memcg->nodeinfo[nid]->zoneinfo[zid];
89abfab1 Hugh Dickins 2012-05-29 @3221 rstat = &mz->lruvec.reclaim_stat;
7f016ee8 KOSAKI Motohiro 2009-01-07 3222
89abfab1 Hugh Dickins 2012-05-29 @3223 recent_rotated[0] += rstat->recent_rotated[0];
89abfab1 Hugh Dickins 2012-05-29 3224 recent_rotated[1] += rstat->recent_rotated[1];
89abfab1 Hugh Dickins 2012-05-29 3225 recent_scanned[0] += rstat->recent_scanned[0];
89abfab1 Hugh Dickins 2012-05-29 3226 recent_scanned[1] += rstat->recent_scanned[1];
:::::: The code at line 3221 was first introduced by commit
:::::: 89abfab133ef1f5902abafb744df72793213ac19 mm/memcg: move reclaim_stat into lruvec
:::::: TO: Hugh Dickins [off-list ref]
:::::: CC: Linus Torvalds [off-list ref]
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation Attachments
- .config.gz [application/octet-stream] 16213 bytes