[PATCH -tip v4] Enable optprobe on preepmtive kernel

From: Masami Hiramatsu
Date: Thu Oct 19 2017 - 19:43:38 EST


This patch enables optprobe even with CONFIG_PREEMPT. The
previous patch is https://lkml.org/lkml/2017/9/19/159 .

Sorry for taking so long to update.
I've update the patch description according to Ingo's comment
but the code is same.

Thank you,

---

Masami Hiramatsu (1):
kprobes: Use synchronize_rcu_tasks() for optprobe with CONFIG_PREEMPT


arch/Kconfig | 2 +-
kernel/kprobes.c | 14 ++++++++------
2 files changed, 9 insertions(+), 7 deletions(-)

--
Masami Hiramatsu <mhiramat@xxxxxxxxxx>