diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2017-11-27 06:21:25 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-27 12:26:29 -0800 |
commit | a8f97366452ed491d13cf1e44241bc0b5740b1f0 (patch) | |
tree | 088b53c38a80b46fb6d46c49dc521dfa54e3a87b /scripts/Makefile.host | |
parent | 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff) | |
download | linux-a8f97366452ed491d13cf1e44241bc0b5740b1f0.tar.bz2 |
mm, thp: Do not make page table dirty unconditionally in touch_p[mu]d()
Currently, we unconditionally make page table dirty in touch_pmd().
It may result in false-positive can_follow_write_pmd().
We may avoid the situation, if we would only make the page table entry
dirty if caller asks for write access -- FOLL_WRITE.
The patch also changes touch_pud() in the same way.
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/Makefile.host')
0 files changed, 0 insertions, 0 deletions