[lkml]   [2011]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: percpu related boot crash on x86
Le jeudi 20 janvier 2011 à 11:47 +0100, Peter Zijlstra a écrit :
> On Thu, 2011-01-20 at 10:31 +0200, Pekka Enberg wrote:
> > if (!irqs_disabled())
> >
> > guard around the debugging code to make vfree() always work with IRQs
> > disabled.
> That won't be sufficient, __purge_vmap_area_lazy() needs to call
> flush_tlb_kernel_range() occasionally.
> There really is a good reason vmalloc()/vfree() don't work with
> interrupts disabled.

Hmm, I would try to increase PERCPU_DYNAMIC_RESERVE, or pcpu_mem_alloc()
could try to use kzalloc() even for allocations bigger than one PAGE,
and fallback to vzalloc().

We have more alloc_percpu() uses, we also should try to use first chunk
if possible.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2011-01-20 12:15    [W:0.065 / U:1.864 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site