[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1288173442.15336.1490.camel@twins>
Date: Wed, 27 Oct 2010 11:57:22 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: Brian Gerst <brgerst@...il.com>, tj@...nel.org, x86@...nel.org,
linux-kernel@...r.kernel.org, torvalds@...ux-foundation.org,
mingo@...e.hu
Subject: Re: [PATCH] x86-32: Allocate irq stacks seperate from percpu area
On Wed, 2010-10-27 at 08:07 +0200, Eric Dumazet wrote:
> > - 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.
I guess we could use:
alloc_pages_node(cpu_to_node(cpu), THREAD_FLAGS, THREAD_ORDER);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists