linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* How to disable fault-around by debugfs?
@ 2014-11-12  8:13 秦弋戈
  0 siblings, 0 replies; only message in thread
From: 秦弋戈 @ 2014-11-12  8:13 UTC (permalink / raw)
  To: kirill; +Cc: kernelnewbies, linux-mm

[-- Attachment #1: Type: text/plain, Size: 833 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1325 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-11-12  8:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-12  8:13 How to disable fault-around by debugfs? 秦弋戈

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox