summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAaron Lu <aaron.lu@intel.com>2022-08-19 05:30:01 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2022-08-19 18:17:43 +0300
commit88e0a74902f894fbbc55ad3ad2cb23b4bfba555c (patch)
tree81c7a355de9d07c80fefad2e1392120fcbc65e45 /tools/perf/scripts/python/export-to-postgresql.py
parent4c2d0b039c5cc0112206a5b22431b577cb1c57ad (diff)
downloadlinux-88e0a74902f894fbbc55ad3ad2cb23b4bfba555c.tar.xz
x86/mm: Use proper mask when setting PUD mapping
Commit c164fbb40c43f("x86/mm: thread pgprot_t through init_memory_mapping()") mistakenly used __pgprot() which doesn't respect __default_kernel_pte_mask when setting PUD mapping. Fix it by only setting the one bit we actually need (PSE) and leaving the other bits (that have been properly masked) alone. Fixes: c164fbb40c43 ("x86/mm: thread pgprot_t through init_memory_mapping()") Signed-off-by: Aaron Lu <aaron.lu@intel.com> Cc: stable@kernel.org Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions