diff options
| author | David Hildenbrand <[email protected]> | 2023-01-13 18:10:22 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-02-02 22:33:10 -0800 |
| commit | adf8e329ff56a873c789f797a69a330fb8c4ff9e (patch) | |
| tree | 6af5c3e849287870a79330cbf8b350af949ddd4e /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | e6b37d7f6f17db638275b6f8fd78714c047e3a57 (diff) | |
sparc/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE on 64bit
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 was effectively unused.
While at it, mask the type in __swp_entry().
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: David Hildenbrand <[email protected]>
Cc: "David S. Miller" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions