From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757063Ab2CVJqS (ORCPT ); Thu, 22 Mar 2012 05:46:18 -0400 Received: from casper.infradead.org ([85.118.1.10]:37611 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753878Ab2CVJqR convert rfc822-to-8bit (ORCPT ); Thu, 22 Mar 2012 05:46:17 -0400 Message-ID: <1332409539.18960.508.camel@twins> Subject: Re: [RFC][PATCH 00/26] sched/numa From: Peter Zijlstra To: Nish Aravamudan Cc: Linus Torvalds , Andrew Morton , Thomas Gleixner , Ingo Molnar , Paul Turner , Suresh Siddha , Mike Galbraith , "Paul E. McKenney" , Lai Jiangshan , Dan Smith , Bharata B Rao , Lee Schermerhorn , Andrea Arcangeli , Rik van Riel , Johannes Weiner , linux-kernel@vger.kernel.org, linux-mm@kvack.org Date: Thu, 22 Mar 2012 10:45:39 +0100 In-Reply-To: References: <20120316144028.036474157@chello.nl> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > I was going to try and test this on power, but it fails to build: > > mm/filemap_xip.c: In function ‘__xip_unmap’: > mm/filemap_xip.c:199: error: implicit declaration of function > ‘numa_add_vma_counter’ Add: #include to that file and it should build. > > [26/26] sched, numa: A few debug bits > > introduced a new warning: > > kernel/sched/numa.c: In function ‘process_cpu_runtime’: > kernel/sched/numa.c:210: warning: format ‘%lu’ expects type ‘long > unsigned int’, but argument 3 has type ‘u64’ > kernel/sched/numa.c:210: warning: format ‘%lu’ expects type ‘long > unsigned int’, but argument 4 has type ‘u64’ Yeah, that's a known trainwreck, some archs define u64 as unsigned long others as unsigned long long, so whatever you write: %ul or %ull is wrong and I can't be arsed to add an explict cast since its all debug bits that won't ever make it in anyway.