diff options
author | Andrey Ryabinin <[email protected]> | 2015-10-19 11:37:18 +0300 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-10-20 11:04:19 +0200 |
commit | f7d27c35ddff7c100d7a98db499ac0040149ac05 (patch) | |
tree | 0325b7fa7aa4f92950b003944575f5157c3e844b /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | d976441f44bc5d48635d081d277aa76556ffbf8b (diff) |
x86/mm, kasan: Silence KASAN warnings in get_wchan()
get_wchan() is racy by design, it may access volatile stack
of running task, thus it may access redzone in a stack frame
and cause KASAN to warn about this.
Use READ_ONCE_NOCHECK() to silence these warnings.
Reported-by: Sasha Levin <[email protected]>
Signed-off-by: Andrey Ryabinin <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Andrey Konovalov <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Kostya Serebryany <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Wolfram Gloger <[email protected]>
Cc: kasan-dev <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions