Messages in this thread | | | Date | Thu, 29 Oct 2009 14:39:19 -0400 (EDT) | From | Christoph Lameter <> | Subject | Re: [Bug #14467] Linker errors on ia64 with NR_CPUS=4096 |
| |
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.
| |