Messages in this thread | | | Subject | Re: [PATCH v3 3/6] mm/vmscan: activate swap-backed executable folios after first usage | From | Miaohe Lin <> | Date | Tue, 26 Apr 2022 14:58:26 +0800 |
| |
On 2022/4/26 10:02, ying.huang@intel.com 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@huawei.com> 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 > > . >
| |