]> 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>
Thu, 13 Sep 2012 07:27:53 +0000 (17:27 +1000)
commitb7f829cbc019b9f13b0292783b83a63957405e8f
treef74ded776ecb16f77c2c7bd2bd93dd7142dedc19
parentb3e081ee3e8566d5c6e55b6dd416a3f1a62a798e
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