lkml.org 
[lkml]   [2023]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v10] mm: vmscan: try to reclaim swapcache pages if no swap space
On Tue 28-11-23 09:31:06, Huang, Ying wrote:
> Michal Hocko <mhocko@suse.com> writes:
[...]
> > Right. On the other hand we could be more aggressive when dropping the
> > swapcache. Is there any actual reason why we cannot try to folio_free_swap
> > even when mem_cgroup_swap_full == F?
>
> If there are plenty free space in swap device, why not take advantage of
> it?

Maybe a stupid question but what is the advantage of keeping around in
the swap cache?

--
Michal Hocko
SUSE Labs

\
 
 \ /
  Last update: 2023-11-28 11:16    [W:0.088 / U:1.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site