Re: [PATCH] mm, vmscan: consider eligible zones in get_scan_count

From: kbuild test robot
Date: Tue Dec 27 2016 - 11:28:59 EST


Hi Michal,

[auto build test ERROR on mmotm/master]
[also build test ERROR on v4.10-rc1 next-20161224]
[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/Michal-Hocko/mm-vmscan-consider-eligible-zones-in-get_scan_count/20161228-000917
base: git://git.cmpxchg.org/linux-mmotm.git master
config: i386-tinyconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

mm/vmscan.c: In function 'lruvec_lru_size_zone_idx':
>> mm/vmscan.c:264:10: error: implicit declaration of function 'lruvec_zone_lru_size' [-Werror=implicit-function-declaration]
size = lruvec_zone_lru_size(lruvec, lru, zid);
^~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors

vim +/lruvec_zone_lru_size +264 mm/vmscan.c

258 struct zone *zone = &pgdat->node_zones[zid];
259 unsigned long size;
260
261 if (!managed_zone(zone))
262 continue;
263
> 264 size = lruvec_zone_lru_size(lruvec, lru, zid);
265 lru_size -= min(size, lru_size);
266 }
267

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

Attachment: .config.gz
Description: application/gzip