]> sourceware.org Git - systemtap.git/commit
RHBZ1847676: uprobes-inode tweaks redux
authorFrank Ch. Eigler <fche@redhat.com>
Wed, 17 Jun 2020 00:35:53 +0000 (20:35 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Wed, 17 Jun 2020 00:37:33 +0000 (20:37 -0400)
commit11c39a7375bd2759b53b89236e755c91a4f5aad8
tree76acde63fc4c0cb8627d623358ab9a20e5b89694
parent0a281a96ddf7cae9a0f0cc0eb505a752ffdd932e
RHBZ1847676: uprobes-inode tweaks redux

Added (back) a spinlock to manage the stapiu_consumer -> process_list
structure, since it is occasionally travered from uprobe pre-handlers,
which are sometimes entered in atomic context (e.g. on rhel7).  There,
the normal mutex_t is unsafe.  So restoring a spinlock_t just for
those shortlived traversals, rhel7 and rawhide are both happy.
runtime/linux/uprobes-inode.c
This page took 0.026485 seconds and 5 git commands to generate.