diff options
author | Anshuman Khandual <[email protected]> | 2020-09-09 10:23:03 +0530 |
---|---|---|
committer | Will Deacon <[email protected]> | 2020-09-11 14:57:30 +0100 |
commit | 53fa117bb33c9ebc4c0746b3830e273f5e9b97b7 (patch) | |
tree | 1ba92024d02f634c35c593234340de2b35d47a38 /scripts/gdb/linux/modules.py | |
parent | b65399f6111b03df870d8daa75b8d140c0de93f4 (diff) |
arm64/mm: Enable THP migration
In certain page migration situations, a THP page can be migrated without
being split into it's constituent subpages. This saves time required to
split a THP and put it back together when required. But it also saves an
wider address range translation covered by a single TLB entry, reducing
future page fault costs.
A previous patch changed platform THP helpers per generic memory semantics,
clearing the path for THP migration support. This adds two more THP helpers
required to create PMD migration swap entries. Now enable THP migration via
ARCH_ENABLE_THP_MIGRATION.
Signed-off-by: Anshuman Khandual <[email protected]>
Reviewed-by: Catalin Marinas <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: Suzuki Poulose <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions