Re: [PATCH -tip v9 25/26] kprobes: Introduce kprobe cache to reduce cache misshits

From: Ingo Molnar
Date: Fri Apr 25 2014 - 04:24:54 EST



* Masami Hiramatsu <masami.hiramatsu.pt@xxxxxxxxxxx> wrote:

> > So I don't think this should be a Kconfig entry, just enable it
> > unconditionally. That will further simplify the code.
>
> Hmm, it consumes some amount of memory (36KB/core) just for the case
> of several thousand of kprobes. On enterprise servers and desktop
> it's OK, no problem. But I think, some embedded systems with small
> resources will not want that. [...]

They'll just disable kprobes in general.

Really, at this point complexity is our main concern.

Thanks,

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