Re: [PATCH 15/18] mm: memcontrol: make swap tracking an integral part of memory control
From: Alex Shi
Date: Tue Apr 21 2020 - 05:28:43 EST
在 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@xxxxxxxxxxx>