linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 5734/8210] mm/page_alloc.c:1956: undefined reference to `zone_pcp_update'
@ 2019-11-01 11:29 kbuild test robot
  2019-11-01 13:38 ` Mel Gorman
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2019-11-01 11:29 UTC (permalink / raw)
  To: Mel Gorman; +Cc: kbuild-all, Andrew Morton, Linux Memory Management List

[-- Attachment #1: Type: text/plain, Size: 2386 bytes --]

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@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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 37354 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-next:master 5734/8210] mm/page_alloc.c:1956: undefined reference to `zone_pcp_update'
  2019-11-01 11:29 [linux-next:master 5734/8210] mm/page_alloc.c:1956: undefined reference to `zone_pcp_update' kbuild test robot
@ 2019-11-01 13:38 ` Mel Gorman
  0 siblings, 0 replies; 2+ messages in thread
From: Mel Gorman @ 2019-11-01 13:38 UTC (permalink / raw)
  To: kbuild test robot; +Cc: kbuild-all, Andrew Morton, Linux Memory Management List

On Fri, Nov 01, 2019 at 07:29:09PM +0800, kbuild test robot wrote:
> 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@intel.com>
> 
> Note: the linux-next/master HEAD 49afce6d47fe05ee01f1a41129b835fe4cca7eea builds fine.
>       It may have been fixed somewhere.
> 
> All errors (new ones prefixed by >>):
> 

The fix for this is already in Andrew's tree.

-- 
Mel Gorman
SUSE Labs


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-01 13:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-01 11:29 [linux-next:master 5734/8210] mm/page_alloc.c:1956: undefined reference to `zone_pcp_update' kbuild test robot
2019-11-01 13:38 ` Mel Gorman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox