Re: [PATCHv2] mm: Account pud page tables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Kirill,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.14-rc2]
[cannot apply to next-20170929]
[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/Kirill-A-Shutemov/mm-Account-pud-page-tables/20170926-031536
config: powerpc-powernv_defconfig (attached as .config)
compiler: powerpc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=powerpc 

All errors (new ones prefixed by >>):

   mm/memory.c: In function '__pud_alloc':
>> mm/memory.c:4134:20: error: 'pud' undeclared (first use in this function)
     if (!pgd_present(*pud)) {
                       ^~~
   mm/memory.c:4134:20: note: each undeclared identifier is reported only once for each function it appears in

vim +/pud +4134 mm/memory.c

  4112	
  4113	#ifndef __PAGETABLE_PUD_FOLDED
  4114	/*
  4115	 * Allocate page upper directory.
  4116	 * We've already handled the fast-path in-line.
  4117	 */
  4118	int __pud_alloc(struct mm_struct *mm, p4d_t *p4d, unsigned long address)
  4119	{
  4120		pud_t *new = pud_alloc_one(mm, address);
  4121		if (!new)
  4122			return -ENOMEM;
  4123	
  4124		smp_wmb(); /* See comment in __pte_alloc */
  4125	
  4126		spin_lock(&mm->page_table_lock);
  4127	#ifndef __ARCH_HAS_5LEVEL_HACK
  4128		if (!p4d_present(*p4d)) {
  4129			mm_inc_nr_puds(mm);
  4130			p4d_populate(mm, p4d, new);
  4131		} else	/* Another has populated it */
  4132			pud_free(mm, new);
  4133	#else
> 4134		if (!pgd_present(*pud)) {
  4135			mm_inc_nr_puds(mm);
  4136			pgd_populate(mm, p4d, new);
  4137		} else	/* Another has populated it */
  4138			pud_free(mm, new);
  4139	#endif /* __ARCH_HAS_5LEVEL_HACK */
  4140		spin_unlock(&mm->page_table_lock);
  4141		return 0;
  4142	}
  4143	#endif /* __PAGETABLE_PUD_FOLDED */
  4144	

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]
  Powered by Linux