Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arm64/mm: Enable THP migration #1

Open
wants to merge 2 commits into
base: nimble_page_management_5_6_rc6
Choose a base branch
from

Conversation

kdauer
Copy link

@kdauer kdauer commented Aug 2, 2022

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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant