diff options
| author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2016-01-15 19:53:31 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-15 20:56:32 -0500 |
| commit | 702b63ca328496d5577b6edb40d44fa6a6db8aa0 (patch) | |
| tree | 50c818998b0062b7aaf607bd681c831bc88ff802 /arch/tile/include/asm | |
| parent | 99f1bc0116ccfe28058dc83a6a6895d97dd300d3 (diff) | |
tile, thp: remove infrastructure for handling splitting PMDs
With new refcounting we don't need to mark PMDs splitting. Let's drop
code to handle this.
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Sasha Levin <sasha.levin@oracle.com>
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Cc: Jerome Marchand <jmarchan@redhat.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Rik van Riel <riel@redhat.com>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Steve Capper <steve.capper@linaro.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Christoph Lameter <cl@linux.com>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/tile/include/asm')
| -rw-r--r-- | arch/tile/include/asm/pgtable.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/tile/include/asm/pgtable.h b/arch/tile/include/asm/pgtable.h index 2b05ccbebed9..96cecf55522e 100644 --- a/arch/tile/include/asm/pgtable.h +++ b/arch/tile/include/asm/pgtable.h | |||
| @@ -489,16 +489,6 @@ static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) | |||
| 489 | #ifdef CONFIG_TRANSPARENT_HUGEPAGE | 489 | #ifdef CONFIG_TRANSPARENT_HUGEPAGE |
| 490 | #define has_transparent_hugepage() 1 | 490 | #define has_transparent_hugepage() 1 |
| 491 | #define pmd_trans_huge pmd_huge_page | 491 | #define pmd_trans_huge pmd_huge_page |
| 492 | |||
| 493 | static inline pmd_t pmd_mksplitting(pmd_t pmd) | ||
| 494 | { | ||
| 495 | return pte_pmd(hv_pte_set_client2(pmd_pte(pmd))); | ||
| 496 | } | ||
| 497 | |||
| 498 | static inline int pmd_trans_splitting(pmd_t pmd) | ||
| 499 | { | ||
| 500 | return hv_pte_get_client2(pmd_pte(pmd)); | ||
| 501 | } | ||
| 502 | #endif /* CONFIG_TRANSPARENT_HUGEPAGE */ | 492 | #endif /* CONFIG_TRANSPARENT_HUGEPAGE */ |
| 503 | 493 | ||
| 504 | /* | 494 | /* |
