ftrace: Protect RCU accesses to direct_functions
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | ftrace: Protect direct_functions in ftrace_find_rec_directkernel/ | +2 | 0 replies | |
| 2/4 | ftrace: Protect direct_functions in update_ftrace_direct_delkernel/ | +8 | 0 replies | |
| 3/4 | ftrace: Protect direct_functions in update_ftrace_direct_modkernel/ | +8 | 0 replies | |
| 4/4 | ftrace: Drop extra comma in trace_buffered_event_enablekernel/ | +1 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jiri Olsa |
|---|---|
| Series | A-b |
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] ftrace: Protect RCU accesses to direct_functions
Sashiko reported a potential issue of directly accessing direct_functions [1], which will be addressed by patch #1.
The patch #2 and #3 protect accesses to the RCU-managed direct_functions hash in its delete, and modify paths.
The final patch removes an unnecessary empty argument from a scoped_guard() invocation.
[1] https://lore.kernel.org/all/[email protected]/
Leon Hwang (4):
ftrace: Protect direct_functions in ftrace_find_rec_direct
ftrace: Protect direct_functions in update_ftrace_direct_del
ftrace: Protect direct_functions in update_ftrace_direct_mod
ftrace: Drop extra comma in trace_buffered_event_enable
kernel/trace/ftrace.c | 27 ++++++++++++++++++--------- kernel/trace/trace.c | 2 +- 2 files changed, 19 insertions(+), 10 deletions(-)
Signature · 1 line
2.55.0