]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
thp, s390: disable thp for kvm host on s390
authorGerald Schaefer <gerald.schaefer@de.ibm.com>
Wed, 26 Sep 2012 01:33:27 +0000 (11:33 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 07:26:04 +0000 (17:26 +1000)
commit248fe513ad7c7efa85d8e67c5f69efb3305f21ed
treecd2018ad6453bf844f5d5a5ed63ed06e2764ee01
parent69abc652eac32b5a92a1a619d18d9237ef87b89e
thp, s390: disable thp for kvm host on s390

This patch is part of the architecture backend for thp on s390.  It
disables thp for kvm hosts, because there is no kvm host hugepage support
so far.  Existing thp mappings are split by follow_page() with FOLL_SPLIT,
and future thp mappings are prevented by setting VM_NOHUGEPAGE in
mm->def_flags.

Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Hillf Danton <dhillf@gmail.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/s390/mm/pgtable.c