diff options
author | 2024-12-27 14:22:20 -0800 | |
---|---|---|
committer | 2025-01-12 19:03:35 -0800 | |
commit | 4bbb6df62c54e6a2c1fcce4908df768f0cfa1e91 (patch) | |
tree | ef076ed68a3875de19bdabc50384555ad29f9069 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mm/mempolicy: count MPOL_WEIGHTED_INTERLEAVE to "interleave_hit" (diff) | |
download | linux-rng-4bbb6df62c54e6a2c1fcce4908df768f0cfa1e91.tar.xz linux-rng-4bbb6df62c54e6a2c1fcce4908df768f0cfa1e91.zip |
tools: fix atomic_set() definition to set the value correctly
Currently vma test is failing because of the new vma_assert_attached()
assertion. The check is failing because previous refcount_set() inside
vma_mark_attached() is a NoOp. Fix the definition of atomic_set() to
correctly set the value of the atomic.
Link: https://lkml.kernel.org/r/20241227222220.1726384-1-surenb@google.com
Fixes: 9325b8b5a1cb ("tools: add skeleton code for userland testing of VMA logic")
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Jann Horn <jannh@google.com>
Cc: Liam R. Howlett <Liam.Howlett@Oracle.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions