diff options
author | Kirill A. Shutemov | 2016-07-27 00:25:40 +0200 |
---|---|---|
committer | Linus Torvalds | 2016-07-27 01:19:19 +0200 |
commit | af9e4d5f2de2eabdc7145e077ba48b2a638465c6 (patch) | |
tree | 9ac84a9f70046c63d080f99f03bb115745859d9d /mm/huge_memory.c | |
parent | thp: handle file pages in split_huge_pmd() (diff) | |
download | kernel-qcow2-linux-af9e4d5f2de2eabdc7145e077ba48b2a638465c6.tar.gz kernel-qcow2-linux-af9e4d5f2de2eabdc7145e077ba48b2a638465c6.tar.xz kernel-qcow2-linux-af9e4d5f2de2eabdc7145e077ba48b2a638465c6.zip |
thp: handle file COW faults
File COW for THP is handled on pte level: just split the pmd.
It's not clear how benefitial would be allocation of huge pages on COW
faults. And it would require some code to make them work.
I think at some point we can consider teaching khugepaged to collapse
pages in COW mappings, but allocating huge on fault is probably
overkill.
Link: http://lkml.kernel.org/r/1466021202-61880-16-git-send-email-kirill.shutemov@linux.intel.com
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/huge_memory.c')
0 files changed, 0 insertions, 0 deletions