diff options
| author | Kees Cook <kees@kernel.org> | 2025-03-12 03:04:40 +0300 |
|---|---|---|
| committer | Kees Cook <kees@kernel.org> | 2025-03-12 23:24:01 +0300 |
| commit | 6ee149f61bcce39692f0335a01e99355d4cec8da (patch) | |
| tree | b317902f423708bf644ae373b4254970361aded1 /tools/perf/scripts/python/compaction-times.py | |
| parent | 416cf1f4d91bf52305cd160a382273ccef980b7f (diff) | |
| download | linux-6ee149f61bcce39692f0335a01e99355d4cec8da.tar.xz | |
kunit/fortify: Replace "volatile" with OPTIMIZER_HIDE_VAR()
It does seem that using "volatile" isn't going to be sane compared to
using OPTIMIZER_HIDE_VAR() going forward. Some strange interactions[1]
with the sanitizers have been observed in the self-test code, so replace
the logic.
Reported-by: Nathan Chancellor <nathan@kernel.org>
Closes: https://github.com/ClangBuiltLinux/linux/issues/2075 [1]
Link: https://lore.kernel.org/r/20250312000439.work.112-kees@kernel.org
Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
