Re: [PATCH tracing/kprobes] kprobes: Disable booster whenCONFIG_PREEMPT=y

From: Peter Zijlstra
Date: Fri Jan 29 2010 - 06:31:27 EST


On Fri, 2010-01-29 at 10:21 +0100, Ingo Molnar wrote:
> * Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:
>
> > Disable kprobe booster when CONFIG_PREEMPT=y, because it can't ensure that
> > all kernel threads preempted on kprobe's boosted slot run out from the slot
> > even using freeze_processes().
>
> hm, this really sucks as it makes preemptible kernels perform worse. Is there
> no better solution?

We could pre-allocate 1 slot per kernel thread.

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