aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/caching/netfs-api.rst
diff options
context:
space:
mode:
authorSong Liu <[email protected]>2020-01-22 19:50:27 +0000
committerIngo Molnar <[email protected]>2020-01-28 20:20:19 +0000
commit07c5972951f088094776038006a0592a46d14bbc (patch)
tree520cbc9d27be3122880b5ddc43226e1350a08eec /Documentation/filesystems/caching/netfs-api.rst
parentperf/core: Fix mlock accounting in perf_mmap() (diff)
downloadkernel-07c5972951f088094776038006a0592a46d14bbc.tar.gz
kernel-07c5972951f088094776038006a0592a46d14bbc.zip
perf/cgroups: Install cgroup events to correct cpuctx
cgroup events are always installed in the cpuctx. However, when it is not installed via IPI, list_update_cgroup_event() adds it to cpuctx of current CPU, which triggers list corruption: [] list_add double add: new=ffff888ff7cf0db0, prev=ffff888ff7ce82f0, next=ffff888ff7cf0db0. To reproduce this, we can simply run: # perf stat -e cs -a & # perf stat -e cs -G anycgroup Fix this by installing it to cpuctx that contains event->ctx, and the proper cgrp_cpuctx_list. Fixes: db0503e4f675 ("perf/core: Optimize perf_install_in_event()") Suggested-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Song Liu <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Cc: <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'Documentation/filesystems/caching/netfs-api.rst')
0 files changed, 0 insertions, 0 deletions