From: Ananth N Mavinakayanahalli <hidden> Date: 2015-07-17 10:52:24
To be used for features we will not support on a particular architecture.
The git log that adds this needs to provide the justification 'why?'
Signed-off-by: Ananth N Mavinakayanahalli <redacted>
---
Documentation/features/arch-support.txt | 1 +
1 file changed, 1 insertion(+)
@@ -8,4 +8,5 @@ The meaning of entries in the tables is: | ok | # feature supported by the architecture |TODO| # feature not yet supported by the architecture | .. | # feature cannot be supported by the hardware+ | na | # feature will not be supported by the architecture
From: Ananth N Mavinakayanahalli <hidden> Date: 2015-07-17 10:53:20
Kprobes uses a breakpoint instruction to trap into execution flow
and the probed instruction is single-stepped from an alternate location.
On some architectures like x86, under certain conditions, the OPTPROBES
feature enables replacing the probed instruction with a jump instead,
resulting in a significant perfomance boost (one single-step exception
is bypassed for each kprobe).
Powerpc has an in-kernel instruction emulator. Kprobes on powerpc uses
this emulator already and bypasses the single-step exception, with a
lot less complexity.
Hence, mark OPTPROBES na for powerpc.
Signed-off-by: Ananth N Mavinakayanahalli <redacted>
---
.../features/debug/optprobes/arch-support.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
On 2015/07/17 19:51, Ananth N Mavinakayanahalli wrote:
quoted hunk
To be used for features we will not support on a particular architecture.
The git log that adds this needs to provide the justification 'why?'
Signed-off-by: Ananth N Mavinakayanahalli <redacted>
---
Documentation/features/arch-support.txt | 1 +
1 file changed, 1 insertion(+)
@@ -8,4 +8,5 @@ The meaning of entries in the tables is: | ok | # feature supported by the architecture |TODO| # feature not yet supported by the architecture | .. | # feature cannot be supported by the hardware+ | na | # feature will not be supported by the architecture
"will not" sounds like someone's will. I guess it could be "feature is useless/needless
on the architecture".
Thank you,
--
Masami HIRAMATSU
Linux Technology Research Center, System Productivity Research Dept.
Center for Technology Innovation - Systems Engineering
Hitachi, Ltd., Research & Development Group
E-mail: masami.hiramatsu.pt@hitachi.com