lkml.org 
[lkml]   [2023]   [Nov]   [24]   [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 Thu 23-11-23 14:15:59, Huang, Ying wrote:
> Michal Hocko <mhocko@suse.com> writes:
[...]
> > Yes swapcache pages are indeed more complicated but most of the time
> > they just go away as well, no?
>
> When we swapin a page, we will put it in swapcache too. And the page
> can be in that state for long time if there is more than 50% free space
> in the swap device.

True, but why is that a problem? If you encounter such a swapped in page
on the file LRU then the page should be referened and as such should be
activated, no?
--
Michal Hocko
SUSE Labs

\
 
 \ /
  Last update: 2023-11-24 17:31    [W:0.234 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site