Skip to content

uprobes/x86: UPROBE_FIX_IP/UPROBE_FIX_CALL cleanups

Oleg Nesterov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4uprobes/x86: Cleanup the usage of arch_uprobe->def.fixups, make it u8arch/x86/include/asm/uprobes.h arch/x86/kernel/uprobes.c+8 -80 replies
2/4uprobes/x86: Introduce push_ret_address()arch/x86/kernel/uprobes.c+12 -30 replies
3/4uprobes/x86: Kill adjust_ret_addr(), simplify UPROBE_FIX_CALL logicarch/x86/include/asm/uprobes.h arch/x86/kernel/uprobes.c+4 -210 replies
4/4uprobes/x86: Cleanup the usage of UPROBE_FIX_IP/UPROBE_FIX_CALLarch/x86/kernel/uprobes.c+11 -160 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] uprobes/x86: UPROBE_FIX_IP/UPROBE_FIX_CALL cleanups
Quoted 3 lines · Oleg Nesterov

This series only fixes the problem. I'll send more changes to address some of TODO's mentioned in the changelogs later.

This is probably the last series I am sending in this thread, before the next PULL request. This completes the changes which I planned from the very beginning, except "emulate jczx/loopz" which I am still unsure about.

I didn't test it yet, will do of course and report if something is wrong.

Jim, I see your email about the previous series. If we rename ->def then this series obviously should be updated too, but this is trivial.

Oleg.

 arch/x86/include/asm/uprobes.h |    3 +-
 arch/x86/kernel/uprobes.c      |   66 ++++++++++++++++------------------------
 2 files changed, 28 insertions(+), 41 deletions(-)