Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756159AbYLHEdS (ORCPT ); Sun, 7 Dec 2008 23:33:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754913AbYLHEdD (ORCPT ); Sun, 7 Dec 2008 23:33:03 -0500 Received: from smtp1.linux-foundation.org ([140.211.169.13]:54977 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754838AbYLHEdC (ORCPT ); Sun, 7 Dec 2008 23:33:02 -0500 Date: Sun, 7 Dec 2008 20:32:44 -0800 From: Andrew Morton To: Eric Dumazet Cc: Peter Zijlstra , Mike Travis , "David S. Miller" , linux kernel , Christoph Lameter , linux-ext4@vger.kernel.org Subject: Re: [PATCH, take2] percpu_counter: FBC_BATCH might be too big Message-Id: <20081207203244.10372834.akpm@linux-foundation.org> In-Reply-To: <493C1632.2000901@cosmosbay.com> References: <4939513C.3090101@cosmosbay.com> <493B9699.8080603@cosmosbay.com> <20081207090918.595627b2.akpm@linux-foundation.org> <493C1632.2000901@cosmosbay.com> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.5; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1057 Lines: 27 On Sun, 07 Dec 2008 19:30:10 +0100 Eric Dumazet wrote: > > > > Do > > > > $EDITOR $(grep -l hotcpu_notifier */*.c) > > > > and you'll see lots of code gets it right, and lots of code gets it wrong. > > I see nothing interesting, I must be blind. > > lib/percpu_counter.c: In function 'percpu_counter_startup': > lib/percpu_counter.c:158: error: 'percpu_counter_hotcpu_callback' undeclared (first use in this function) > lib/percpu_counter.c:158: error: (Each undeclared identifier is reported only once > lib/percpu_counter.c:158: error: for each function it appears in.) > make[1]: *** [lib/percpu_counter.o] Error 1 Perhaps you still had percpu_counter_hotcpu_callback inside #ifdef. That a look at kernel/workqueue.c, fs/buffer.c. No #ifdef CONFIG_HOTPLUG_CPU needed at all. -- 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/