summaryrefslogtreecommitdiffstats
path: root/net/smc
diff options
context:
space:
mode:
authorNanyong Sun <sunnanyong@huawei.com>2021-11-23 22:06:38 +0800
committerPalmer Dabbelt <palmer@rivosinc.com>2022-01-07 15:54:28 -0800
commitd062a79b7c80064d5b40bcd78009fe30adde5cea (patch)
treee97e03b4650858f8a11e2be9846215986958e657 /net/smc
parentfba88ede6a312705e147860c45ed9b3c3d9c6f85 (diff)
downloadlinux-stable-d062a79b7c80064d5b40bcd78009fe30adde5cea.tar.gz
linux-stable-d062a79b7c80064d5b40bcd78009fe30adde5cea.tar.bz2
linux-stable-d062a79b7c80064d5b40bcd78009fe30adde5cea.zip
riscv/mm: Enable THP migration
Add two THP helpers required to create PMD migration swap entries, and enable THP migration via ARCH_ENABLE_THP_MIGRATION. This can reduce time of THP migration without splitting and guarantee the migrated pages are still contiguous. Signed-off-by: Nanyong Sun <sunnanyong@huawei.com> Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'net/smc')
0 files changed, 0 insertions, 0 deletions