Re: [PATCH 3/7] loongarch: mm: enable MMU_GATHER_RCU_TABLE_FREE

From: Qi Zheng
Date: Mon Nov 17 2025 - 01:44:53 EST


Hi Huacai,

On 11/14/25 10:17 PM, Huacai Chen wrote:
Hi, Qi Zheng,

[...]


-#define __pmd_free_tlb(tlb, x, addr) pmd_free((tlb)->mm, x)
+#define __pmd_free_tlb(tlb, x, addr) \
+ tlb_remove_ptdesc((tlb), virt_to_ptdesc(x))
I think we can define it in one line.

Do we need to change __pte_free_tlb() to a single-line format
as well?

Thanks,
Qi