From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Date: Tue, 20 Oct 2009 06:12:36 +0000 Subject: Re: Commit 34d76c41 causes linker errors on ia64 with NR_CPUS=4096 Message-Id: <4ADD54D4.70808@kernel.org> List-Id: References: <4ADB967A.4080707@suse.com> <4ADD48D1.1040701@kernel.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Jiri Kosina Cc: Jeff Mahoney , Peter Zijlstra , Linux Kernel Mailing List , Tony Luck , Fenghua Yu , linux-ia64@vger.kernel.org Jiri Kosina wrote: > So how about something along the lines below? (completely untested as > well) > > From: Jiri Kosina > Subject: sched: move rq_weight data array out of .percpu > > Commit 34d76c41 introduced percpu array update_shares_data, size of which > being proportional to NR_CPUS. Unfortunately this blows up ia64 for large > NR_CPUS configuration, as ia64 allows only 64k for .percpu section. > > Fix this by allocating this array dynamically and keep only pointer to it > percpu. Looks good to me from percpu POV. Thanks. -- tejun