[PATCH] rcu: Fix delayed execution of hurry callbacks

2025-07-16 Thread Tze-nan Wu
is not RCU_NOCB_WAKE_NOT. Fixes: 3cb278e73be5 ("rcu: Make call_rcu() lazy to save power") Co-developed-by: Cheng-jui Wang Signed-off-by: Cheng-jui Wang Co-developed-by: lorry@mediatek.com Signed-off-by: lorry@mediatek.com Tested-by: weiyangy...@vivo.com Signed-o

[PATCH RESEND] tracing: Fix overflow in get_free_elt()

2024-08-04 Thread Tze-nan Wu
by preventing any further increments to "tracing_map->next_elt" once it reaches "tracing_map->max_elt". Co-developed-by: Cheng-Jui Wang Signed-off-by: Cheng-Jui Wang Signed-off-by: Tze-nan Wu --- We have encountered this issue internally after enabling the throttle_rss

[PATCH] tracing: Fix overflow in get_free_elt()

2024-07-10 Thread Tze-nan Wu
by preventing any further increments to "tracing_map->next_elt" once it reaches "tracing_map->max_elt". Co-developed-by: Cheng-Jui Wang Signed-off-by: Cheng-Jui Wang Signed-off-by: Tze-nan Wu --- kernel/trace/tracing_map.c | 6 +++--- 1 file changed, 3 insertions(+), 3 d

[PATCH] tracing: Fix uaf issue in tracing_open_file_tr

2024-04-26 Thread Tze-nan wu
bb32500fb9b7 ("tracing: Have trace_event_file have ref counters") Co-developed-by: Cheng-Jui Wang Signed-off-by: Cheng-Jui Wang Signed-off-by: Tze-nan wu --- BTW, I've also attempted to reproduce the same issue in another environment (described below). It's also reproducible b