summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2020-01-14 11:13:09 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2020-01-23 13:31:13 +0300
commitd80ae83f1f932ab7af47b54d0d3bef4f4dba489f (patch)
tree3d96050c68ce4b2c4965e4e60e76e38224b4977f /tools/perf/scripts/python/export-to-postgresql.py
parente26ad936dd89d79f66c2b567f700e0c2a7103070 (diff)
downloadlinux-d80ae83f1f932ab7af47b54d0d3bef4f4dba489f.tar.xz
powerpc/ptdump: Fix W+X verification
Verification cannot rely on simple bit checking because on some platforms PAGE_RW is 0, checking that a page is not W means checking that PAGE_RO is set instead of checking that PAGE_RW is not set. Use pte helpers instead of checking bits. Fixes: 453d87f6a8ae ("powerpc/mm: Warn if W+X pages found on boot") Cc: stable@vger.kernel.org # v5.2+ Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/0d894839fdbb19070f0e1e4140363be4f2bb62fc.1578989540.git.christophe.leroy@c-s.fr
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions