Re: [PATCH -tip 0/5] Kprobes updates

From: Ingo Molnar
Date: Thu Oct 14 2010 - 02:53:13 EST



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

> Hi,
>
> This series of patches fixes some code/docs which are related to
> kprobes (especially optprobe).
> First 2 resend patches update document and selftest since
> optprobe changes kprobes behavior.
> Next 2 patches fix double get_cpu() by using __stop_machine().
> And the last patch makes text_poke_smp() depending on
> stop_machine() on smp, because without stop_machine(),
> it can't ensure safety on smp.
>
> Thank you,
>
> ---
>
> Masami Hiramatsu (5):
> [BUGFIX] kconfig/x86: Add HAVE_TEXT_POKE_SMP config for stop_machine dependency
> [BUGFIX] x86: Use __stop_machine() in text_poke_smp()
> Define __stop_machine when CONFIG_STOP_MACHINE=n
> [RESEND][BUGFIX] kprobes: Fix selftest to clear flags field for reusing probes
> [RESEND] kprobes: Update document about irq disabled state in kprobe handler
>
>
> Documentation/kprobes.txt | 8 +++++---
> arch/x86/Kconfig | 5 +++++
> arch/x86/kernel/alternative.c | 3 ++-
> include/linux/stop_machine.h | 10 ++++++++--
> kernel/test_kprobes.c | 12 +++++++++---
> 5 files changed, 29 insertions(+), 9 deletions(-)

Applied to tip:perf/core, thanks a lot Masami!

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/