Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754391AbbGXQga (ORCPT ); Fri, 24 Jul 2015 12:36:30 -0400 Received: from relay.parallels.com ([195.214.232.42]:42655 "EHLO relay.parallels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752214AbbGXQg3 (ORCPT ); Fri, 24 Jul 2015 12:36:29 -0400 Date: Fri, 24 Jul 2015 19:36:12 +0300 From: Vladimir Davydov To: Jim Davis CC: linux-next , linux-kernel , Andrew Morton , Subject: Re: randconfig build error with next-20150724, in mm/page_ext.c Message-ID: <20150724163612.GK8100@esperanza> References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: US-EXCH.sw.swsoft.com (10.255.249.47) To MSK-EXCH1.sw.swsoft.com (10.67.48.55) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1444 Lines: 40 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 Subject: [PATCH] mm/Kconfig: fix IDLE_PAGE_TRACKING dependencies Fixes: proc-add-kpageidle-file Signed-off-by: Vladimir Davydov 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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/