• Gerald Schaefer's avatar
    thp, s390: thp splitting backend for s390 · 75077afb
    Gerald Schaefer authored
    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: default avatarGerald 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: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    75077afb
pgtable.h 37 KB