We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd77558 commit 7a079baCopy full SHA for 7a079ba
mm/memory.c
@@ -3627,9 +3627,7 @@ static vm_fault_t pte_marker_handle_uffd_wp(struct vm_fault *vmf)
3627
{
3628
/*
3629
* Just in case there're leftover special ptes even after the region
3630
- * got unregistered - we can simply clear them. We can also do that
3631
- * proactively when e.g. when we do UFFDIO_UNREGISTER upon some uffd-wp
3632
- * ranges, but it should be more efficient to be done lazily here.
+ * got unregistered - we can simply clear them.
3633
*/
3634
if (unlikely(!userfaultfd_wp(vmf->vma) || vma_is_anonymous(vmf->vma)))
3635
return pte_marker_clear(vmf);
0 commit comments