From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from holomorphy.com ([66.93.40.71]:46011 "EHLO holomorphy.com") by vger.kernel.org with ESMTP id S932199AbWBCJhk (ORCPT ); Fri, 3 Feb 2006 04:37:40 -0500 Date: Fri, 3 Feb 2006 01:36:18 -0800 From: William Lee Irwin III Subject: Re: percpu data changes Message-ID: <20060203093618.GF2866@holomorphy.com> References: <20060203011748.6fe3fee3.akpm@osdl.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060203011748.6fe3fee3.akpm@osdl.org> Sender: linux-arch-owner@vger.kernel.org To: Andrew Morton Cc: Mikael Starvik , David Howells , Kyle McMartin , Anton Blanchard , Benjamin Herrenschmidt , Paul Mackerras , Martin Schwidefsky , Heiko Carstens , Paul Mundt , "David S. Miller" , Andi Kleen , Christian Zankel , Philippe Elie , Nathan Scott , Jens Axboe , linux-arch@vger.kernel.org, Eric Dumazet List-ID: On Fri, Feb 03, 2006 at 01:17:48AM -0800, Andrew Morton wrote: > It seems that powerpc has gone and changed their implementation of percpu > data so that there is no memory allocated for not-possible CPUs. To save a > bit of RAM. > This means that any code which does > > for (i = 0; i < NR_CPUS; i++) > touch(percpudata(i)) > will explode on powerpc. > I have a patch queued up (for 2.6.16) which fixes most users of percpu > data. Make them use for_each_cpu(). I'll send that in a moment. ... Blanket Acked-by: William Irwin -- wli