• G
    thp, s390: thp splitting backend for s390 · 75077afb
    Gerald Schaefer 提交于
    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: NGerald 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: NAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
    75077afb
gup.c 6.7 KB