]> git.karo-electronics.de Git - karo-tx-linux.git/commit
thp, s390: thp splitting backend for s390
authorGerald Schaefer <gerald.schaefer@de.ibm.com>
Wed, 26 Sep 2012 01:33:26 +0000 (11:33 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 07:26:03 +0000 (17:26 +1000)
commit34886e96100c74a485f2a98c3a65d8028de9919c
tree5c9f7ea00ce764e397d90d9de840aee26acabdb2
parentc7c22534e8d4e8ae3f23b1b8b1c1498c53faccdb
thp, s390: thp splitting backend for s390

This patch is part of the architecture backend for thp on s390.  It
provides the functions related to thp splitting, including serialization
against gup.  Unlike other archs, pmdp_splitting_flush() cannot use a tlb
flushing operation to serialize against gup on s390, because that wouldn't
be stopped by the disabled IRQs.  So instead, smp_call_function() is
called with an empty function, which will have the expected effect.

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/include/asm/pgtable.h
arch/s390/mm/gup.c
arch/s390/mm/pgtable.c