lkml.org 
[lkml]   [2015]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCHv12 23/37] tile, thp: remove infrastructure for handling splitting PMDs
    Date
    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>
    ---
    arch/tile/include/asm/pgtable.h | 10 ----------
    1 file changed, 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)
    #ifdef CONFIG_TRANSPARENT_HUGEPAGE
    #define has_transparent_hugepage() 1
    #define pmd_trans_huge pmd_huge_page
    -
    -static inline pmd_t pmd_mksplitting(pmd_t pmd)
    -{
    - return pte_pmd(hv_pte_set_client2(pmd_pte(pmd)));
    -}
    -
    -static inline int pmd_trans_splitting(pmd_t pmd)
    -{
    - return hv_pte_get_client2(pmd_pte(pmd));
    -}
    #endif /* CONFIG_TRANSPARENT_HUGEPAGE */

    /*
    --
    2.5.3


    \
     
     \ /
      Last update: 2015-10-06 17:41    [W:3.327 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site