Hi, David, > > Just to ask again, > > is code like > maybe_mkwrite(pte_mkdirty(entry), vma); > > Like we have in copy_present_page(), wp_page_reuse(), wp_page_copy() ... > broken on LoongArch of the VMA lacks VM_WRITE? Sorry for the late reply. In this test case, The VMA doesn't lack VM_WRITE. Regards, Ray