diff options
author | Namhyung Kim <namhyung@kernel.org> | 2019-05-22 14:32:48 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-05-28 09:52:23 -0300 |
commit | 6584140ba9e6762dd7ec73795243289b914f31f9 (patch) | |
tree | 6fe8c8903c16a4a1f296530c7bd7523f824013e4 /lib/test_stackinit.c | |
parent | 9903c64f0fe7fa4829c948fa0e742f578e084548 (diff) |
perf namespace: Protect reading thread's namespace
It seems that the current code lacks holding the namespace lock in
thread__namespaces(). Otherwise it can see inconsistent results.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Hari Bathini <hbathini@linux.vnet.ibm.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Krister Johansen <kjlx@templeofstupid.com>
Link: http://lkml.kernel.org/r/20190522053250.207156-2-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'lib/test_stackinit.c')
0 files changed, 0 insertions, 0 deletions