Re: [PATCH] x86-32: Allocate irq stacks seperate from percpu area

From: Eric Dumazet
Date: Wed Oct 27 2010 - 02:08:03 EST


Le mercredi 27 octobre 2010 Ã 01:43 -0400, Brian Gerst a Ãcrit :
> The percpu allocator cannot handle alignments larger than one page.
> Allocate the irq stacks seperately, and only keep the pointers as
> percpu data.
>
> Signed-off-by: Brian Gerst <brgerst@xxxxxxxxx>

>
> - irqctx = &per_cpu(hardirq_stack, cpu);
> + irqctx = (union irq_ctx *)__get_free_pages(THREAD_FLAGS, THREAD_ORDER);

Hmm, then we lose NUMA affinity for stacks.



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