Re: percpu related boot crash on x86

From: Peter Zijlstra
Date: Thu Jan 20 2011 - 05:47:29 EST


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.


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