Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756243AbYFBXvg (ORCPT ); Mon, 2 Jun 2008 19:51:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754034AbYFBXv1 (ORCPT ); Mon, 2 Jun 2008 19:51:27 -0400 Received: from ozlabs.org ([203.10.76.45]:41738 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753291AbYFBXv1 (ORCPT ); Mon, 2 Jun 2008 19:51:27 -0400 From: Rusty Russell To: "Luck, Tony" Subject: Re: [patch 01/41] cpu_alloc: Increase percpu area size to 128k Date: Tue, 3 Jun 2008 09:48:25 +1000 User-Agent: KMail/1.9.9 Cc: "Christoph Lameter" , akpm@linux-foundation.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, "David Miller" , "Eric Dumazet" , "Peter Zijlstra" , "Mike Travis" References: <20080530035620.587204923@sgi.com> <20080530040010.806208523@sgi.com> <1FE6DD409037234FAB833C420AA843EC0177822B@orsmsx424.amr.corp.intel.com> In-Reply-To: <1FE6DD409037234FAB833C420AA843EC0177822B@orsmsx424.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806030948.25448.rusty@rustcorp.com.au> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 959 Lines: 22 On Tuesday 03 June 2008 03:58:17 Luck, Tony wrote: > > The per cpu allocator requires more per cpu space and we are already near > > the limit on IA64. Increase the maximum size of the IA64 per cpu area > > from 64K to 128K. > > > > -#define PERCPU_PAGE_SHIFT 16 /* log2() of max. size of per-CPU area */ > > +#define PERCPU_PAGE_SHIFT 17 /* log2() of max. size of per-CPU area */ > > Don't you need some more changes to the alt_dtlb_miss handler in > ivt.S for this to work? 128K is not a supported pagesize on any > processor model. Yes, this was one of the issues with IA64 and extending the per-cpu area. It's probable that the IA64 TLB nailing trick might have to give way for dynamic per-cpu... Rusty. -- 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/