Re: [PATCH v3 02/17] riscv: mm: Skip pgtable level check in {pud,p4d}_alloc_one

2024-12-27 Thread Qi Zheng
Hi Palmer, On 2024/12/28 00:40, Palmer Dabbelt wrote: On Mon, 23 Dec 2024 01:40:48 PST (-0800), zhengqi.a...@bytedance.com wrote: From: Kevin Brodsky {pmd,pud,p4d}_alloc_one() is never called if the corresponding page table level is folded, as {pmd,pud,p4d}_alloc() already does the required c

Re: [PATCH v3 02/17] riscv: mm: Skip pgtable level check in {pud,p4d}_alloc_one

2024-12-27 Thread Palmer Dabbelt
On Mon, 23 Dec 2024 01:40:48 PST (-0800), zhengqi.a...@bytedance.com wrote: From: Kevin Brodsky {pmd,pud,p4d}_alloc_one() is never called if the corresponding page table level is folded, as {pmd,pud,p4d}_alloc() already does the required check. We can therefore remove the runtime page table lev