linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: 秦弋戈 <michaelbest002@126.com>
To: kirill@shutemov.name
Cc: kernelnewbies <kernelnewbies@kernelnewbies.org>,
	linux-mm <linux-mm@kvack.org>
Subject: How to disable fault-around by debugfs?
Date: Wed, 12 Nov 2014 16:13:30 +0800 (CST)	[thread overview]
Message-ID: <267163c2.1f570.149a3108a46.Coremail.michaelbest002@126.com> (raw)

[-- 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 --]

                 reply	other threads:[~2014-11-12  8:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=267163c2.1f570.149a3108a46.Coremail.michaelbest002@126.com \
    --to=michaelbest002@126.com \
    --cc=kernelnewbies@kernelnewbies.org \
    --cc=kirill@shutemov.name \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox