diff options
author | 2024-07-04 16:02:26 +0100 | |
---|---|---|
committer | 2024-07-15 15:07:14 -0400 | |
commit | 7dc836187f7c6f70a82b4521503e9f9f96194581 (patch) | |
tree | 09b4350049d0ea5417de56a7eca7c0927d0d9b99 /scripts/generate_rust_analyzer.py | |
parent | tracing/sched: sched_switch: place prev_comm and next_comm in right order (diff) | |
download | wireguard-linux-7dc836187f7c6f70a82b4521503e9f9f96194581.tar.xz wireguard-linux-7dc836187f7c6f70a82b4521503e9f9f96194581.zip |
trace/pid_list: Change gfp flags in pid_list_fill_irq()
pid_list_fill_irq() runs via irq_work.
When CONFIG_PREEMPT_RT is disabled, it would run in irq_context.
so it shouldn't sleep while memory allocation.
Change gfp flags from GFP_KERNEL to GFP_NOWAIT to prevent sleep in
irq_work.
This change wouldn't impact functionality in practice because the worst-size
is 2K.
Cc: stable@goodmis.org
Fixes: 8d6e90983ade2 ("tracing: Create a sparse bitmask for pid filtering")
Link: https://lore.kernel.org/20240704150226.1359936-1-yeoreum.yun@arm.com
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: levi.yun <yeoreum.yun@arm.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions