tree:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 49afce6d47fe05ee01f1a41129b835fe4cca7eea
commit: 95ae151fc7286b8ce0e079321e95c76e5c071ca0 [5734/8210] mm, meminit: recalculate pcpu
batch and high limits after init completes
config: x86_64-randconfig-g004-201943 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-14) 7.4.0
reproduce:
git checkout 95ae151fc7286b8ce0e079321e95c76e5c071ca0
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
Note: the linux-next/master HEAD 49afce6d47fe05ee01f1a41129b835fe4cca7eea builds fine.
It may have been fixed somewhere.
All errors (new ones prefixed by >>):
ld: mm/page_alloc.o: in function `page_alloc_init_late':
> mm/page_alloc.c:1956: undefined reference to
`zone_pcp_update'
vim +1956 mm/page_alloc.c
1940
1941 /* There will be num_node_state(N_MEMORY) threads */
1942 atomic_set(&pgdat_init_n_undone, num_node_state(N_MEMORY));
1943 for_each_node_state(nid, N_MEMORY) {
1944 kthread_run(deferred_init_memmap, NODE_DATA(nid), "pgdatinit%d", nid);
1945 }
1946
1947 /* Block until all are initialised */
1948 wait_for_completion(&pgdat_init_all_done_comp);
1949
1950 /*
1951 * The number of managed pages has changed due to the initialisation
1952 * so the pcpu batch and high limits needs to be updated or the limits
1953 * will be artificially small.
1954 */
1955 for_each_populated_zone(zone)
1956 zone_pcp_update(zone);
1957
1958 /*
1959 * We initialized the rest of the deferred pages. Permanently disable
1960 * on-demand struct page initialization.
1961 */
1962 static_branch_disable(&deferred_pages);
1963
1964 /* Reinit limits that are based on free pages after the kernel is up */
1965 files_maxfiles_init();
1966 #endif
1967
1968 /* Discard memblock private memory */
1969 memblock_discard();
1970
1971 for_each_node_state(nid, N_MEMORY)
1972 shuffle_free_memory(NODE_DATA(nid));
1973
1974 for_each_populated_zone(zone)
1975 set_zone_contiguous(zone);
1976
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation