lkml.org 
[lkml]   [2015]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    SubjectRE: [PATCH 26/36] mm: rework mapcount accounting to enable 4k mapping of THPs
    Date
    Kirill A. Shutemov wrote:
    > TESTPAGEFLAG_FALSE(TransHuge)
    > TESTPAGEFLAG_FALSE(TransCompound)
    > TESTPAGEFLAG_FALSE(TransTail)
    > +TESTPAGEFLAG_FALSE(DoubleMap)
    > + TESTSETFLAG_FALSE(DoubleMap)
    > + CLEARPAGEFLAG_NOOP(DoubleMap)
    > #endif
    >
    > /*

    Fixlet for !THP:


    diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h
    index 757a4b162242..eec24e6391d3 100644
    --- a/include/linux/page-flags.h
    +++ b/include/linux/page-flags.h
    @@ -633,7 +633,7 @@ TESTPAGEFLAG_FALSE(TransCompound)
    TESTPAGEFLAG_FALSE(TransTail)
    TESTPAGEFLAG_FALSE(DoubleMap)
    TESTSETFLAG_FALSE(DoubleMap)
    - CLEARPAGEFLAG_NOOP(DoubleMap)
    + TESTCLEARFLAG_FALSE(DoubleMap)
    #endif

    /*

    \
     
     \ /
      Last update: 2015-07-12 21:21    [W:3.527 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site