diff options
| author | He Fengqing <hefengqing@huawei.com> | 2022-01-22 10:29:36 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2022-01-25 17:50:03 -0800 |
| commit | 0e3135d3bfa5dfb658145238d2bc723a8e30c3a3 (patch) | |
| tree | 3677f5921a1e98e432e54135287577bcc37d8c87 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | bpf: Fix renaming task_getsecid_subj->current_getsecid_subj. (diff) | |
| download | linux-0e3135d3bfa5dfb658145238d2bc723a8e30c3a3.tar.gz linux-0e3135d3bfa5dfb658145238d2bc723a8e30c3a3.zip | |
bpf: Fix possible race in inc_misses_counter
It seems inc_misses_counter() suffers from same issue fixed in
the commit d979617aa84d ("bpf: Fixes possible race in update_prog_stats()
for 32bit arches"):
As it can run while interrupts are enabled, it could
be re-entered and the u64_stats syncp could be mangled.
Fixes: 9ed9e9ba2337 ("bpf: Count the number of times recursion was prevented")
Signed-off-by: He Fengqing <hefengqing@huawei.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/r/20220122102936.1219518-1-hefengqing@huawei.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
