From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx172.postini.com [74.125.245.172]) by kanga.kvack.org (Postfix) with SMTP id C28016B0044 for ; Wed, 5 Dec 2012 04:52:21 -0500 (EST) Date: Wed, 5 Dec 2012 09:43:58 +0000 From: Mel Gorman Subject: Re: [PATCH 20/52] mm, numa: Implement migrate-on-fault lazy NUMA strategy for regular and THP pages Message-ID: <20121205094332.GA2489@suse.de> References: <1354473824-19229-1-git-send-email-mingo@kernel.org> <1354473824-19229-21-git-send-email-mingo@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: David Rientjes Cc: Ingo Molnar , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Peter Zijlstra , Paul Turner , Lee Schermerhorn , Christoph Lameter , Rik van Riel , Andrew Morton , Andrea Arcangeli , Linus Torvalds , Thomas Gleixner , Johannes Weiner , Hugh Dickins On Tue, Dec 04, 2012 at 04:55:13PM -0800, David Rientjes wrote: > Commit "mm, numa: Implement migrate-on-fault lazy NUMA strategy for > regular and THP pages" breaks the build because HPAGE_PMD_SHIFT and > HPAGE_PMD_MASK defined to explode without CONFIG_TRANSPARENT_HUGEPAGE: > > mm/migrate.c: In function 'migrate_misplaced_transhuge_page_put': > mm/migrate.c:1549: error: call to '__build_bug_failed' declared with attribute error: BUILD_BUG failed > mm/migrate.c:1564: error: call to '__build_bug_failed' declared with attribute error: BUILD_BUG failed > mm/migrate.c:1566: error: call to '__build_bug_failed' declared with attribute error: BUILD_BUG failed > mm/migrate.c:1573: error: call to '__build_bug_failed' declared with attribute error: BUILD_BUG failed > mm/migrate.c:1606: error: call to '__build_bug_failed' declared with attribute error: BUILD_BUG failed > mm/migrate.c:1648: error: call to '__build_bug_failed' declared with attribute error: BUILD_BUG failed > > CONFIG_NUMA_BALANCING allows compilation without enabling transparent > hugepages, so define the dummy function for such a configuration and only > define migrate_misplaced_transhuge_page_put() when transparent hugepages > are enabled. > > Signed-off-by: David Rientjes Thanks David. I pushed the equivalent for the balancenuma tree and should be included in the balancenuma-v10 tag or mm-balancenuma-v10r3 branch at git://git.kernel.org/pub/scm/linux/kernel/git/mel/linux-balancenuma.git -- Mel Gorman SUSE Labs -- 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: email@kvack.org