linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: kbuild-all@01.org, Andrew Morton <akpm@linux-foundation.org>,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org,
	Michal Hocko <mhocko@suse.com>, Vlastimil Babka <vbabka@suse.cz>
Subject: Re: [PATCHv2] mm: Account pud page tables
Date: Sun, 1 Oct 2017 09:03:08 +0800	[thread overview]
Message-ID: <201710010825.PgAbffW5%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170925073913.22628-1-kirill.shutemov@linux.intel.com>

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

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 #2: .config.gz --]
[-- Type: application/gzip, Size: 22987 bytes --]

      parent reply	other threads:[~2017-10-01  1:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-25  7:39 Kirill A. Shutemov
2017-09-25 11:54 ` Michal Hocko
2017-09-25 13:07   ` Kirill A. Shutemov
2017-09-25 13:53     ` Michal Hocko
2017-09-26  9:43       ` Kirill A. Shutemov
2017-09-26 10:14         ` Michal Hocko
2017-09-26 10:17 ` Michal Hocko
2017-10-01  0:38 ` kbuild test robot
2017-10-01  1:03 ` kbuild test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201710010825.PgAbffW5%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=kbuild-all@01.org \
    --cc=kirill.shutemov@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mhocko@suse.com \
    --cc=vbabka@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox