Hi,
I'm just the guy who asked a question about the page fault handler days ago.
Thanks for telling me about the fault-around feature.
You also told me that this feature could be disabled in debugfs, but I still
don't know how to achieve it by debugfs. I only know that debugfs is something
that developers could put information about kernel there. So could you tell me
how to disable fault-around feature by debugfs? Or is it OK to directly modify
kernel? I find where it is located in source:
3518 if (vma->vm_ops->map_pages) {
3519 pte = pte_offset_map_lock(mm, pmd, address, &ptl);
3520 do_fault_around(vma, address, pte, pgoff, flags);
3521 if (!pte_same(*pte, orig_pte))
3522 goto unlock_out;
3523 pte_unmap_unlock(pte, ptl);
3524 }
Thank you very much!
Best regards_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies