diff options
| author | David Hildenbrand <[email protected]> | 2023-01-13 18:10:04 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-02-02 22:33:06 -0800 |
| commit | 20aae9eff5acd8f50f72adca1176f9269a46b827 (patch) | |
| tree | c1e6330fab2b77c927caa120574a19f69fc591e2 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 4a446b3dd335d0bd14a5ca3e563688de3637be0c (diff) | |
arm/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE
Let's support __HAVE_ARCH_PTE_SWP_EXCLUSIVE by stealing one bit from the
offset. This reduces the maximum swap space per file to 64 GiB (was 128
GiB).
While at it drop the PTE_TYPE_FAULT from __swp_entry_to_pte() which is
defined to be 0 and is rather confusing because we should be dealing with
"Linux PTEs" not "hardware PTEs". Also, properly mask the type in
__swp_entry().
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: David Hildenbrand <[email protected]>
Reviewed-by: Russell King (Oracle) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions