lkml.org 
[lkml]   [2020]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 15/18] mm: memcontrol: make swap tracking an integral part of memory control
From
Date


在 2020/4/22 下午9:30, Johannes Weiner 写道:
>> Also as to the RSS account name change, I don't know if it's good to polish
>> them in docs.
> I didn't actually change anything user-visible, just the internal name
> of the counters:
>
> static const unsigned int memcg1_stats[] = {
> NR_FILE_PAGES, /* was MEMCG_CACHE */
> NR_ANON_MAPPED, /* was MEMCG_RSS */
> NR_ANON_THPS, /* was MEMCG_RSS_HUGE */
> NR_SHMEM,
> NR_FILE_MAPPED,
> NR_FILE_DIRTY,
> NR_WRITEBACK,
> MEMCG_SWAP,
> };
>
> static const char *const memcg1_stat_names[] = {
> "cache",
> "rss",
> "rss_huge",
> "shmem",
> "mapped_file",
> "dirty",
> "writeback",
> "swap",
> };
>
> Or did you refer to something else?

With about 'was MEMCG_RSS' etc. I believe curious user would know where
the concept from. :)

Thanks for this comments!
Aelx

\
 
 \ /
  Last update: 2020-04-22 15:44    [W:0.145 / U:0.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site