summaryrefslogtreecommitdiffstats
path: root/mm/huge_memory.c
diff options
context:
space:
mode:
authorKirill A. Shutemov2016-07-27 00:25:40 +0200
committerLinus Torvalds2016-07-27 01:19:19 +0200
commitaf9e4d5f2de2eabdc7145e077ba48b2a638465c6 (patch)
tree9ac84a9f70046c63d080f99f03bb115745859d9d /mm/huge_memory.c
parentthp: handle file pages in split_huge_pmd() (diff)
downloadkernel-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