Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761765AbZANPFd (ORCPT ); Wed, 14 Jan 2009 10:05:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755071AbZANPFZ (ORCPT ); Wed, 14 Jan 2009 10:05:25 -0500 Received: from one.firstfloor.org ([213.235.205.2]:33108 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754471AbZANPFZ (ORCPT ); Wed, 14 Jan 2009 10:05:25 -0500 Date: Wed, 14 Jan 2009 16:20:01 +0100 From: Andi Kleen To: Frederik Deweerdt Cc: Andi Kleen , Peter Zijlstra , Ingo Molnar , Ravikiran G Thirumalai , tglx@linutronix.de, hpa@zytor.com, linux-kernel@vger.kernel.org Subject: Re: [patch] tlb flush_data: replace per_cpu with an array Message-ID: <20090114152001.GS23848@one.firstfloor.org> References: <20090112213539.GA10720@gambetta> <20090112223421.GA20594@localdomain> <20090112230052.GB18771@elte.hu> <1231848016.442.112.camel@twins> <20090114090811.GQ23848@one.firstfloor.org> <20090114144115.GF10720@gambetta> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090114144115.GF10720@gambetta> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1064 Lines: 31 > To be fair, it also depends on whenever HOTPLUG_CPU is on or not (if it > is we allocate NR_CPUS percpu sections). not true to my knowledge. Even a !HOTPLUG_CPU kernel doesn't allocate more than what is in the possible map. That would be dumb if it was true, but it isn't fortunately. I don't think it does. In that case, which is Ubuntu's > and Fedora's, You're saying that Ubuntu and Fedora do not support suspend to ram? (suspend to ram requires CPU hotplug). At least my Fedora box does S3 just fine so that cannot be correct. we do save memory. > This would make for a fairly long changelog, how about a link to this > thread, and removing the NR_CPUS bit? My original paragraph is correct and it's not long. At least your claim is just wrong. -Andi -- ak@linux.intel.com -- Speaking for myself only. -- 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/