diff options
| author | David Hildenbrand <[email protected]> | 2023-01-13 18:10:02 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-02-02 22:33:06 -0800 |
| commit | a172d5128706028ac07b8db709728379ecc72f6e (patch) | |
| tree | 7eb8fb408708ec3ab4afc9ce054abb2072e3bcf8 /tools/perf/scripts/python/netdev-times.py | |
| parent | 2321ba3e3733f513e46e29b9c70512ecddbf1085 (diff) | |
alpha/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE
Let's support __HAVE_ARCH_PTE_SWP_EXCLUSIVE by stealing one bit from the
type. Generic MM currently only uses 5 bits for the type
(MAX_SWAPFILES_SHIFT), so the stolen bit is effectively unused.
While at it, mask the type in mk_swap_pte() as well.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: David Hildenbrand <[email protected]>
Cc: Richard Henderson <[email protected]>
Cc: Ivan Kokshaysky <[email protected]>
Cc: Matt Turner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions