From: Kefeng Wang <hidden> Date: 2021-09-27 03:01:31
After commit 1355c31eeb7e ("asm-generic: pgalloc: provide generic
pmd_alloc_one() and pmd_free_one()"), the main part to support
PMD split page table lock is in asm-generic/pgalloc.h.
The only change is add pgtable_pmd_page_ctor() into alloc_pmd_late(),
then we could enable ARCH_ENABLE_SPLIT_PMD_PTLOCK for RV64.
Reviewed-by: Alexandre Ghiti <alex@ghiti.fr>
Signed-off-by: Kefeng Wang <redacted>
---
v2:
- rebase to v5.15-rc3, update changelog, and add RB
arch/riscv/Kconfig | 1 +
arch/riscv/mm/init.c | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
From: Kefeng Wang <hidden> Date: 2021-11-19 08:14:52
Hi Palmer, ping, it looks this patch is missed...
On 2021/9/27 11:03, Kefeng Wang wrote:
quoted hunk
After commit 1355c31eeb7e ("asm-generic: pgalloc: provide generic
pmd_alloc_one() and pmd_free_one()"), the main part to support
PMD split page table lock is in asm-generic/pgalloc.h.
The only change is add pgtable_pmd_page_ctor() into alloc_pmd_late(),
then we could enable ARCH_ENABLE_SPLIT_PMD_PTLOCK for RV64.
Reviewed-by: Alexandre Ghiti <alex@ghiti.fr>
Signed-off-by: Kefeng Wang <redacted>
---
v2:
- rebase to v5.15-rc3, update changelog, and add RB
arch/riscv/Kconfig | 1 +
arch/riscv/mm/init.c | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
On Fri, 19 Nov 2021 00:14:19 PST (-0800), wangkefeng.wang@huawei.com wrote:
Hi Palmer, ping, it looks this patch is missed...
Sorry about that. This is on for-next, thanks!
On 2021/9/27 11:03, Kefeng Wang wrote:
quoted
After commit 1355c31eeb7e ("asm-generic: pgalloc: provide generic
pmd_alloc_one() and pmd_free_one()"), the main part to support
PMD split page table lock is in asm-generic/pgalloc.h.
The only change is add pgtable_pmd_page_ctor() into alloc_pmd_late(),
then we could enable ARCH_ENABLE_SPLIT_PMD_PTLOCK for RV64.
Reviewed-by: Alexandre Ghiti <alex@ghiti.fr>
Signed-off-by: Kefeng Wang <redacted>
---
v2:
- rebase to v5.15-rc3, update changelog, and add RB
arch/riscv/Kconfig | 1 +
arch/riscv/mm/init.c | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)