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

From: Tejun Heo
Date: Tue Oct 20 2009 - 03:11:34 EST


Hello,

Ingo Molnar wrote:
> Still looks like a bug if it causes a breakage (linker error) on IA64,

In a sense, yes.

> and if the 'fix' (i'd call it a workaround) causes a (small but nonzero)
> performance regression on other architectures.

Yeah, by small amount but also reduces memory usage quite a bit. For
this case, I think dynamic allocation is actually the right thing to
do.

Extending the first chunk size shouldn't be difficult on ia64 but
other than this, there still is a lot of room left with the current
64k limit, so I think we should be safe for a while. BTW, I also am
curious how lockdep has been coping with the limit.

Thanks.

--
tejun
--
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/