[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1288159670.2652.181.camel@edumazet-laptop>
Date: Wed, 27 Oct 2010 08:07:50 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Brian Gerst <brgerst@...il.com>
Cc: 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
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@...il.com>
>
> - 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@...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