mm: introduce mm_forbids_zeropage function
authorDominik Dingel <dingel@linux.vnet.ibm.com>
Thu, 23 Oct 2014 10:07:44 +0000 (12:07 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 27 Oct 2014 12:27:24 +0000 (13:27 +0100)
commit593befa6ab74a805e4f503c8c737c3cffa8066b6
treecc8765c8ae5a8b26b0a618a93a6d13b4f73a1b56
parenta13cff318cafbd493b8d5d679e5f3f761084c4fe
mm: introduce mm_forbids_zeropage function

Add a new function stub to allow architectures to disable for
an mm_structthe backing of non-present, anonymous pages with
read-only empty zero pages.

Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
include/linux/mm.h
mm/huge_memory.c
mm/memory.c