Re: [PATCH 15/18] mm: memcontrol: make swap tracking an integral part of memory control

Alex Shi
2020-04-21T09:28:42Z

在 2020/4/21 上午6:11, Johannes Weiner 写道:
> The swapaccount=0 boot option will continue to exist, and it will
> eliminate the page_counter overhead and hide the swap control files,
> but it won't disable swap slot ownership tracking.

May we add extra explanation for this change to user? and the default
memsw limitations?

>
> This patch makes sure we always have the cgroup records at swapin
> time; the next patch will fix the actual bug by charging readahead
> swap pages at swapin time rather than at fault time.
>
> Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>