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

Qi Zheng qi.zheng at linux.dev
Sun Nov 16 22:41:10 PST 2025


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


>>




More information about the linux-um mailing list