Re: Commit 34d76c41 causes linker errors on ia64 with NR_CPUS=4096

From: Jiri Kosina
Date: Fri Oct 23 2009 - 08:30:18 EST


On Fri, 23 Oct 2009, Ingo Molnar wrote:

> > > Tony, is the change that will eventually have to be made to ia64
> > > pagefault handler too intrusive for -rc6, and should we rather go
> > > with my workaround instead, and try to find something proper for
> > > 2.6.33?
> >
> > Using __alloc_percpu() rather than static declaration looks to be the
> > right fix here. Not a "workaround".
>
> It is a workaround for the IA64 build failure.
>
> It's also an improvement of the scheduler code (we generally try to
> eliminate NR_CPUs scaling of allocations) - but code improvements need
> to happen much sooner than -rc6/-rc7.

Unfortunately refactoring the ia4 pagefault handler would require some
refactoring in order to eliminate the 64k limitation, as far as I know,
which doesn't seem to be feasible for this timeframe either.

So if I personally have to chose from these two options, I'd prefer my
patch for 2.6.32 and it'd be helpful if ia64 people could look into doing
something with the 64k limit for 2.6.33.

Acceptable for everyone? Ingo/Peter, will you merge this asap please, so
that we don't miss 2.6.32 with it?

Thanks,

--
Jiri Kosina
SUSE Labs, Novell Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/