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



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]