Skip to content

RFC kprobes: Make kretprobes lockless

Peter Zijlstra linux-arch lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest7 patches 30 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7llist: Add nonatomic __llist_add()drivers/gpu/drm/i915/i915_request.c include/linux/llist.h+15 -60 replies
2/7sched: Fix try_invoke_on_locked_down_task() semanticskernel/sched/core.c+4 -50 replies
3/7kprobes: Remove kretprobe hashinclude/linux/kprobes.h include/linux/sched.h kernel/fork.c +1 more+110 -14213 replies
4/7kprobe: Dont kfree() from breakpoint contextinclude/linux/kprobes.h kernel/kprobes.c+7 -220 replies
5/7asm-generic/atomic: Add try_cmpxchg() fallbacksarch/x86/include/asm/atomic.h arch/x86/include/asm/atomic64_64.h arch/x86/include/asm/cmpxchg.h +5 more+372 -1220 replies
6/7freelist: Lock less freelistinclude/linux/freelist.h+129 -010 replies
7/7kprobes: Replace rp->free_instance with freelistinclude/linux/kprobes.h kernel/kprobes.c+34 -407 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchWill Deacon
1/7
2/7
3/7
4/7
5/7A-b
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC][PATCH 0/7] kprobes: Make kretprobes lockless

Hi,

These are on top of Masami's generic kretprobe handler patches (v1):

https://lkml.kernel.org/r/159844957216.510284.17683703701627367133.stgit@devnote2

They are very lightly tested, esp. the freelist stuff has basically only been translated to kernel C without much thinking (while attending LPC), all bugs are undoubted mine and not Cameron's.

Changelogs are terse or nonexistant :/