-
- Downloads
arch/tile: allow building Linux with transparent huge pages enabled
The change adds some infrastructure for managing tile pmd's more generally,
using pte_pmd() and pmd_pte() methods to translate pmd values to and
from ptes, since on TILEPro a pmd is really just a nested structure
holding a pgd (aka pte). Several existing pmd methods are moved into
this framework, and a whole raft of additional pmd accessors are defined
that are used by the transparent hugepage framework.
The tile PTE now has a "client2" bit. The bit is used to indicate a
transparent huge page is in the process of being split into subpages.
This change also fixes a generic bug where the return value of the
generic pmdp_splitting_flush() was incorrect.
Signed-off-by:
Chris Metcalf <cmetcalf@tilera.com>
Showing
- arch/tile/include/asm/pgtable.h 83 additions, 6 deletionsarch/tile/include/asm/pgtable.h
- arch/tile/include/asm/pgtable_32.h 8 additions, 18 deletionsarch/tile/include/asm/pgtable_32.h
- arch/tile/include/asm/pgtable_64.h 7 additions, 22 deletionsarch/tile/include/asm/pgtable_64.h
- arch/tile/include/hv/hypervisor.h 9 additions, 2 deletionsarch/tile/include/hv/hypervisor.h
- include/asm-generic/pgtable.h 2 additions, 3 deletionsinclude/asm-generic/pgtable.h
- mm/pgtable-generic.c 2 additions, 2 deletionsmm/pgtable-generic.c
Loading
Please register or sign in to comment