lkml.org 
[lkml]   [2022]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH v3] mm/vmstat: add events for ksm cow
    From
    On 24.03.22 13:45, Matthew Wilcox wrote:
    > On Thu, Mar 24, 2022 at 10:43:33AM +0000, cgel.zte@gmail.com wrote:
    >> +++ b/include/linux/vm_event_item.h
    >> @@ -131,6 +131,7 @@ enum vm_event_item { PGPGIN, PGPGOUT, PSWPIN, PSWPOUT,
    >> SWAP_RA_HIT,
    >> #ifdef CONFIG_KSM
    >> KSM_SWPIN_COPY,
    >> + COW_KSM,
    >
    > Shouldn't we call this KSM_COW?

    I guess I proposed COW_KSM because ideally we'll have COW_ANON,
    COW_ZERO, COW_OTHER, ... so it'd be under the "COW" namespace. No strong
    opinion, though.


    --
    Thanks,

    David / dhildenb

    \
     
     \ /
      Last update: 2022-03-24 13:50    [W:4.973 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site