Re: [PATCH 1/2] x86/kprobes: Fix kprobes instruction boudary check with CONFIG_RETHUNK

From: Peter Zijlstra
Date: Wed Sep 07 2022 - 06:22:00 EST


On Wed, Sep 07, 2022 at 06:49:57PM +0900, Masami Hiramatsu wrote:
> Yeah, this looks good to me. What I just need is to add expanding
> queue buffer. (can we use xarray for this purpose?)

Yeah, xarray might just work.

I need to go fetch the kids from school, but if I remember I'll modify
objtool to tell us the max number required here (for any one particular
build obviously).