lkml.org 
[lkml]   [2010]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] x86-32: Allocate irq stacks seperate from percpu area
From
Date
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@gmail.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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2010-10-27 08:11    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site