Anshuman Khandual 53fa117bb3 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 <anshuman.khandual@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Suzuki Poulose <suzuki.poulose@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Link: https://lore.kernel.org/r/1599627183-14453-3-git-send-email-anshuman.khandual@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
2020-09-11 14:57:30 +01:00
..
2019-10-04 11:13:09 -07:00
2019-11-25 15:39:19 -08:00
2020-07-31 00:43:40 +02:00
2019-11-06 14:17:35 +00:00
2020-07-24 11:55:29 +01:00
2019-08-09 11:17:21 +01:00
2020-08-09 12:58:23 -04:00
2020-08-09 12:58:23 -04:00
2020-02-18 18:10:49 +00:00
2020-09-11 14:57:30 +01:00
2020-03-31 10:05:01 -07:00
2019-10-28 11:22:38 +00:00
2020-08-12 10:57:58 -07:00
2020-05-14 16:44:25 +02:00
2020-07-24 13:15:20 +01:00