From: Masami Hiramatsu <mhiramat@kernel.org>
To: Ingo Molnar <mingo@kernel.org>
Cc: mhiramat@kernel.org,
Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com>,
Steven Rostedt <rostedt@goodmis.org>,
linux-kernel@vger.kernel.org, Ingo Molnar <mingo@redhat.com>,
Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com>,
Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>,
"David S . Miller" <davem@davemloft.net>,
Thomas Gleixner <tglx@linutronix.de>, Josef Bacik <jbacik@fb.com>,
Alexei Starovoitov <ast@kernel.org>
Subject: [RFC PATCH -tip 0/4] kprobes: x86: Remove jprobes related code
Date: Tue, 8 May 2018 22:36:24 +0900 [thread overview]
Message-ID: <152578658468.31022.8952561651556318637.stgit@devbox> (raw)
Hi,
This series is a core part of removing jprobes related
code from generic part and x86 tree. This also simplifies
the preparation code for function override by balancing
preempt count and current kprobe setting inside
kprobe_int3_handler and kprobe_ftrace_handler.
[1/4]: Trivial cleanup, remove a remaining "jps" word
from document.
[2/4]: Remove arch-independent jprobe code from
kernel/kprobes.c. This prevents link errors
after removing arch dependent jprobe ports.
[3/4]: Remove x86 jprobe port.
[4/4]: Simplify preempt count and current kprobe setting
inside kprobe_int3_handler and kprobe_ftrace_handler.
I'm preparing similar patches for other archs. But I think
this series can be (and should be) merged first, since
the function override feature (which is the only in-tree
component affected by this change) is implemented on x86.
Thank you,
---
Masami Hiramatsu (4):
Documentation/kprobes: Fix to remove remaining jprobe
kprobes: Remove jprobe generic code
kprobes: x86: Remove jprobe x86 port
bpf: error-inject: x86: Fix unbalanced preempt-count for function override
Documentation/kprobes.txt | 2 -
arch/x86/include/asm/kprobes.h | 3 -
arch/x86/kernel/kprobes/core.c | 113 ++++----------------------------------
arch/x86/kernel/kprobes/ftrace.c | 16 +++--
kernel/fail_function.c | 3 -
kernel/kprobes.c | 76 --------------------------
kernel/trace/trace_kprobe.c | 11 +---
7 files changed, 24 insertions(+), 200 deletions(-)
--
Masami Hiramatsu (Linaro) <mhiramat@kernel.org>
next reply other threads:[~2018-05-08 13:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-08 13:36 Masami Hiramatsu [this message]
2018-05-08 13:36 ` [RFC PATCH -tip 1/4] Documentation/kprobes: Fix to remove remaining jprobe Masami Hiramatsu
2018-05-08 13:37 ` [RFC PATCH -tip 2/4] kprobes: Remove jprobe generic code Masami Hiramatsu
2018-05-13 19:55 ` Thomas Gleixner
2018-05-14 0:03 ` Masami Hiramatsu
2018-05-08 13:37 ` [RFC PATCH -tip 3/4] kprobes: x86: Remove jprobe x86 port Masami Hiramatsu
2018-05-08 13:38 ` [RFC PATCH -tip 4/4] bpf: error-inject: x86: Fix unbalanced preempt-count for function override Masami Hiramatsu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=152578658468.31022.8952561651556318637.stgit@devbox \
--to=mhiramat@kernel.org \
--cc=ananth@linux.vnet.ibm.com \
--cc=anil.s.keshavamurthy@intel.com \
--cc=ast@kernel.org \
--cc=davem@davemloft.net \
--cc=jbacik@fb.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=mingo@redhat.com \
--cc=ravi.bangoria@linux.vnet.ibm.com \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®