• Gerald Schaefer's avatar
    thp, s390: thp pagetable pre-allocation for s390 · 9501d09f
    Gerald Schaefer authored
    This patch is part of the architecture backend for thp on s390.  It
    provides the pagetable pre-allocation functions
    pgtable_trans_huge_deposit() and pgtable_trans_huge_withdraw().  Unlike
    other archs, s390 has no struct page * as pgtable_t, but rather a pointer
    to the page table.  So instead of saving the pagetable pre- allocation
    list info inside the struct page, it is being saved within the pagetable
    itself.
    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>
    9501d09f
pgtable.h 37.3 KB