diff options
author | Kirill A. Shutemov | 2016-07-27 00:25:29 +0200 |
---|---|---|
committer | Linus Torvalds | 2016-07-27 01:19:19 +0200 |
commit | 1010245964415bb7403463115bab2cd26244b445 (patch) | |
tree | 0bb07c499e1816334dd405ea9f82381223c7479a /mm/vmstat.c | |
parent | rmap: support file thp (diff) | |
download | kernel-qcow2-linux-1010245964415bb7403463115bab2cd26244b445.tar.gz kernel-qcow2-linux-1010245964415bb7403463115bab2cd26244b445.tar.xz kernel-qcow2-linux-1010245964415bb7403463115bab2cd26244b445.zip |
mm: introduce do_set_pmd()
With postponed page table allocation we have chance to setup huge pages.
do_set_pte() calls do_set_pmd() if following criteria met:
- page is compound;
- pmd entry in pmd_none();
- vma has suitable size and alignment;
Link: http://lkml.kernel.org/r/1466021202-61880-12-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/vmstat.c')
0 files changed, 0 insertions, 0 deletions