]> git.karo-electronics.de Git - karo-tx-linux.git/commit
thp, s390: disable thp for kvm host on s390
authorGerald Schaefer <gerald.schaefer@de.ibm.com>
Thu, 13 Sep 2012 00:58:44 +0000 (10:58 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Sep 2012 05:30:06 +0000 (15:30 +1000)
commit17675abc95605f5aa9f7d56e53cbfa8e78039536
treefa74bcc0a38717e981cb47804a526a2cc3e3cb0a
parentfe1ab645c7191c49bb6328f0a7ebf522755d0faf
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