Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754925AbZJ2OpP (ORCPT ); Thu, 29 Oct 2009 10:45:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754708AbZJ2OpO (ORCPT ); Thu, 29 Oct 2009 10:45:14 -0400 Received: from smtp2.ultrahosting.com ([74.213.174.253]:42472 "EHLO smtp.ultrahosting.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754808AbZJ2OpM (ORCPT ); Thu, 29 Oct 2009 10:45:12 -0400 Date: Thu, 29 Oct 2009 14:39:19 -0400 (EDT) From: Christoph Lameter X-X-Sender: cl@V090114053VZO-1 To: Jiri Kosina cc: "Rafael J. Wysocki" , Linux Kernel Mailing List , Kernel Testers List , Ingo Molnar , Jeff Mahoney , "Luck, Tony" , Peter Zijlstra , Peter Zijlstra , Tejun Heo Subject: Re: [Bug #14467] Linker errors on ia64 with NR_CPUS=4096 In-Reply-To: Message-ID: References: <6dRYo8ss7vL.A.nnF.Cre5KB@chimera> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1079 Lines: 29 On Tue, 27 Oct 2009, Jiri Kosina wrote: > On Tue, 27 Oct 2009, Christoph Lameter wrote: > > > The NR_CPUS array in the percpu section needs to be removed. > > > > A simple fix would be to allocate the rq_weight per cpu array > > dynamically. > > There already are two patches for this acked by Ingo/Tejun, which Tejun is > going to take through his tree tomorrow. > > http://lkml.org/lkml/2009/10/27/132 per cpu alloc from an atomic context without passing gfp flags through to the page allocator? That does not look right. Sure wish that the percpu allocator would be working from atomic contexts for other cases. > http://lkml.org/lkml/2009/10/27/215 There is still heavy percpu use because of the patch for machines with large numbers of processors. Another solution would be better that does not require a N^2 sized array. -- 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/