lkml.org 
[lkml]   [2021]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v3 4/4] mm: memcontrol: move PageMemcgKmem to the scope of CONFIG_MEMCG_KMEM
    On Tue, Mar 09, 2021 at 06:07:17PM +0800, Muchun Song wrote:
    > The page only can be marked as kmem when CONFIG_MEMCG_KMEM is enabled.
    > So move PageMemcgKmem() to the scope of the CONFIG_MEMCG_KMEM.
    >
    > As a bonus, on !CONFIG_MEMCG_KMEM build some code can be compiled out.
    >
    > Signed-off-by: Muchun Song <songmuchun@bytedance.com>

    Acked-by: Johannes Weiner <hannes@cmpxchg.org>

    \
     
     \ /
      Last update: 2021-03-12 20:26    [W:4.715 / U:0.116 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site