diff options
author | 2023-12-03 08:02:49 +0900 | |
---|---|---|
committer | 2023-12-03 08:02:49 +0900 | |
commit | 669fc83452d443cb48f03ce0ebc496562e1c2205 (patch) | |
tree | f186d2ba702142b91512e2d3db8384716ac5e986 /arch | |
parent | Merge tag 'pm-6.7-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafae... (diff) | |
parent | rethook: Use __rcu pointer for rethook::handler (diff) | |
download | linux-669fc83452d443cb48f03ce0ebc496562e1c2205.tar.gz linux-669fc83452d443cb48f03ce0ebc496562e1c2205.tar.bz2 linux-669fc83452d443cb48f03ce0ebc496562e1c2205.zip |
Merge tag 'probes-fixes-v6.7-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
Pull probes fixes from Masami Hiramatsu:
- objpool: Fix objpool overrun case on memory/cache access delay
especially on the big.LITTLE SoC. The objpool uses a copy of object
slot index internal loop, but the slot index can be changed on
another processor in parallel. In that case, the difference of 'head'
local copy and the 'slot->last' index will be bigger than local slot
size. In that case, we need to re-read the slot::head to update it.
- kretprobe: Fix to use appropriate rcu API for kretprobe holder. Since
kretprobe_holder::rp is RCU managed, it should use
rcu_assign_pointer() and rcu_dereference_check() correctly. Also
adding __rcu tag for finding wrong usage by sparse.
- rethook: Fix to use appropriate rcu API for rethook::handler. The
same as kretprobe, rethook::handler is RCU managed and it should use
rcu_assign_pointer() and rcu_dereference_check(). This also adds
__rcu tag for finding wrong usage by sparse.
* tag 'probes-fixes-v6.7-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
rethook: Use __rcu pointer for rethook::handler
kprobes: consistent rcu api usage for kretprobe holder
lib: objpool: fix head overrun on RK3588 SBC
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions