Re: [PATCH 3/4] x86/insn: Extract more information about instructions

From: H. Peter Anvin
Date: Thu Apr 17 2014 - 11:29:30 EST


On 04/17/2014 08:20 AM, Sasha Levin wrote:
>
> It's not like the instruction decoder is a generic piece of code right now anyways,
> it only serves mostly [k,u]probes and was built around the their requirements, and
> now everybody are surprised that kmemcheck has different requirements than kprobes.
>

What *ARE* kmemcheck's requirements? That's the real issue, I believe.

I also have seen several attempts at using the generic instruction
decoder which has resulted in more complexity, not less, because of
excess generality, so it is not an obvious thing.

-hpa


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