On 2022/4/26 10:02, ying.huang@xxxxxxxxx wrote: > On Mon, 2022-04-25 at 14:07 -0700, Andrew Morton wrote: >> On Mon, 25 Apr 2022 19:12:29 +0800 Miaohe Lin <linmiaohe@xxxxxxxxxx> wrote: >> >>> We should activate swap-backed executable folios (e.g. tmpfs) after first >>> usage so that executable code gets yet better chance to stay in memory. >> >> Does this not erase the intended effect of Joonsoo's b518154e59a >> ("mm/vmscan: protect the workingset on anonymous LRU")? > > I don't think so. This is only for executable folios (vm_flags & > VM_EXEC). The behavior for all other anonymous pages are not affected. > Agree. Only executable folios are changed! Thanks both! > Best Regards, > Huang, Ying > > . >