linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Juergen Gross <jgross@suse.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
	linux-mm@kvack.org, xen-devel@lists.xenproject.org,
	akpm@linux-foundation.org, mhocko@suse.com,
	stable@vger.kernel.org
Subject: Re: [PATCH] mm: don't defer struct page initialization for Xen pv guests
Date: Mon, 19 Feb 2018 00:25:01 +0800	[thread overview]
Message-ID: <201802190047.VLg8606k%fengguang.wu@intel.com> (raw)
In-Reply-To: <20180216133726.30813-1-jgross@suse.com>

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

Hi Juergen,

I love your patch! Yet something to improve:

[auto build test ERROR on mmotm/master]
[also build test ERROR on v4.16-rc1 next-20180216]
[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/Juergen-Gross/mm-don-t-defer-struct-page-initialization-for-Xen-pv-guests/20180218-233657
base:   git://git.cmpxchg.org/linux-mmotm.git master
config: x86_64-randconfig-x017-201807 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   mm/page_alloc.c: In function 'update_defer_init':
>> mm/page_alloc.c:352:6: error: implicit declaration of function 'xen_pv_domain'; did you mean 'del_dma_domain'? [-Werror=implicit-function-declaration]
     if (xen_pv_domain())
         ^~~~~~~~~~~~~
         del_dma_domain
   cc1: some warnings being treated as errors

vim +352 mm/page_alloc.c

   339	
   340	/*
   341	 * Returns false when the remaining initialisation should be deferred until
   342	 * later in the boot cycle when it can be parallelised.
   343	 */
   344	static inline bool update_defer_init(pg_data_t *pgdat,
   345					unsigned long pfn, unsigned long zone_end,
   346					unsigned long *nr_initialised)
   347	{
   348		/* Always populate low zones for address-constrained allocations */
   349		if (zone_end < pgdat_end_pfn(pgdat))
   350			return true;
   351		/* Xen PV domains need page structures early */
 > 352		if (xen_pv_domain())
   353			return true;
   354		(*nr_initialised)++;
   355		if ((*nr_initialised > pgdat->static_init_pgcnt) &&
   356		    (pfn & (PAGES_PER_SECTION - 1)) == 0) {
   357			pgdat->first_deferred_pfn = pfn;
   358			return false;
   359		}
   360	
   361		return true;
   362	}
   363	#else
   364	static inline void reset_deferred_meminit(pg_data_t *pgdat)
   365	{
   366	}
   367	

---
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: 27454 bytes --]

  parent reply	other threads:[~2018-02-18 16:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-16 13:37 Juergen Gross
2018-02-16 13:59 ` Michal Hocko
2018-02-16 14:02   ` Juergen Gross
2018-02-16 14:21     ` Pavel Tatashin
2018-02-16 14:28     ` Michal Hocko
2018-02-18 16:25 ` kbuild test robot [this message]
2018-02-18 18:45 ` kbuild test robot
2018-02-20 23:21   ` Andrew Morton

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=201802190047.VLg8606k%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=jgross@suse.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mhocko@suse.com \
    --cc=stable@vger.kernel.org \
    --cc=xen-devel@lists.xenproject.org \
    /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