diff options
author | 2014-12-10 15:44:22 -0800 | |
---|---|---|
committer | 2014-12-10 17:41:08 -0800 | |
commit | e544a4e74e02108035de69f97fde7bdf19dba978 (patch) | |
tree | fb19a9556d16189673cd0d416a57cbf4026f3405 /include/linux/memcontrol.h | |
parent | memcg: use generic slab iterators for showing slabinfo (diff) | |
download | linux-dev-e544a4e74e02108035de69f97fde7bdf19dba978.tar.xz linux-dev-e544a4e74e02108035de69f97fde7bdf19dba978.zip |
thp: do not mark zero-page pmd write-protected explicitly
Zero pages can be used only in anonymous mappings, which never have
writable vma->vm_page_prot: see protection_map in mm/mmap.c and __PX1X
definitions.
Let's drop redundant pmd_wrprotect() in set_huge_zero_page().
Signed-off-by: "Kirill A. Shutemov" <kirill@shutemov.name>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/memcontrol.h')
0 files changed, 0 insertions, 0 deletions