Re: [PATCH] mm/memcontrol: split pgscan into direct and kswapd for memcg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 09, 2019 at 09:13:43PM +0800, Yafang Shao wrote:
> Now we count PGSCAN_KSWAPD and PGSCAN_DIRECT into one single item
> 'pgscan', that's not proper.
> 
> PGSCAN_DIRECT is triggered by the tasks in this memcg, which directly
> indicates the memory status of this memcg;

PGSCAN_DIRECT occurs independent of cgroups when kswapd is overwhelmed
or when allocations don't pass __GFP_KSWAPD_RECLAIM. You'll get direct
reclaim inside memcgs that don't have a limit.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux