linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Vladimir Davydov <vdavydov@parallels.com>
To: Jim Davis <jim.epost@gmail.com>
Cc: linux-next <linux-next@vger.kernel.org>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	linux-mm@kvack.org
Subject: Re: randconfig build error with next-20150724, in mm/page_ext.c
Date: Fri, 24 Jul 2015 19:36:12 +0300	[thread overview]
Message-ID: <20150724163612.GK8100@esperanza> (raw)
In-Reply-To: <CA+r1ZhhXUi3huTQ8GJmX5EeqWV58Fsni9eKjA-wd2irckJUagA@mail.gmail.com>

On Fri, Jul 24, 2015 at 09:27:53AM -0700, Jim Davis wrote:

> warning: (HWPOISON_INJECT && MEM_SOFT_DIRTY && IDLE_PAGE_TRACKING)
> selects PROC_PAGE_MONITOR which has unmet direct dependencies (PROC_FS
> && MMU)
> 
> mm/built-in.o: In function `page_ext_init_flatmem':
> (.init.text+0x30ef): undefined reference to `page_idle_ops'
> mm/built-in.o: In function `page_ext_init_flatmem':
> (.init.text+0x3172): undefined reference to `page_idle_ops'

This has already been reported by the kbuild test robot, see:

  [mmotm:master 260/385] warning: (HWPOISON_INJECT && ..) selects PROC_PAGE_MONITOR which has unmet direct dependencies (PROC_FS && ..)

It should be fixed by:

From: Vladimir Davydov <vdavydov@parallels.com>
Subject: [PATCH] mm/Kconfig: fix IDLE_PAGE_TRACKING dependencies

Fixes: proc-add-kpageidle-file
Signed-off-by: Vladimir Davydov <vdavydov@parallels.com>

diff --git a/mm/Kconfig b/mm/Kconfig
index db817e2c2ec8..a1de09926171 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -657,6 +657,7 @@ config DEFERRED_STRUCT_PAGE_INIT
 
 config IDLE_PAGE_TRACKING
 	bool "Enable idle page tracking"
+	depends on PROC_FS && MMU
 	select PROC_PAGE_MONITOR
 	select PAGE_EXTENSION if !64BIT
 	help

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

      reply	other threads:[~2015-07-24 16:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-24 16:27 randconfig build error with next-20150724, in mm/page_ext.c Jim Davis
2015-07-24 16:36 ` Vladimir Davydov [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=20150724163612.GK8100@esperanza \
    --to=vdavydov@parallels.com \
    --cc=akpm@linux-foundation.org \
    --cc=jim.epost@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=linux-next@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).