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]

base: git:// master
config: i386-tinyconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
# 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;
261 if (!managed_zone(zone))
262 continue;
> 264 size = lruvec_zone_lru_size(lruvec, lru, zid);
265 lru_size -= min(size, lru_size);
266 }

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: application/gzip