How to disable fault-around by debugfs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux