diff options
| author | David Hildenbrand <[email protected]> | 2023-01-13 18:10:05 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-02-02 22:33:06 -0800 |
| commit | 41e0d49104dbff888ef6446ea46842fde66c0a76 (patch) | |
| tree | 80f4e075cc2fa864733031c9d47d124e03de5dba /tools/perf/scripts/python/task-analyzer.py | |
| parent | 20aae9eff5acd8f50f72adca1176f9269a46b827 (diff) | |
csky/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 16 GiB (was 32
GiB).
We might actually be able to reuse one of the other software bits
(_PAGE_READ / PAGE_WRITE) instead, because we only have to keep
pte_present(), pte_none() and HW happy. For now, let's keep it simple
because there might be something non-obvious.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: David Hildenbrand <[email protected]>
Cc: Guo Ren <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions