summaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorKirill A. Shutemov2014-12-11 00:44:22 +0100
committerLinus Torvalds2014-12-11 02:41:08 +0100
commite544a4e74e02108035de69f97fde7bdf19dba978 (patch)
treefb19a9556d16189673cd0d416a57cbf4026f3405 /mm/memcontrol.c
parentmemcg: use generic slab iterators for showing slabinfo (diff)
downloadkernel-qcow2-linux-e544a4e74e02108035de69f97fde7bdf19dba978.tar.gz
kernel-qcow2-linux-e544a4e74e02108035de69f97fde7bdf19dba978.tar.xz
kernel-qcow2-linux-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 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions