Re: [PATCH v3 3/6] mm/vmscan: activate swap-backed executable folios after first usage

From: Joonsoo Kim
Date: Wed Apr 27 2022 - 00:09:08 EST


Hello,

2022년 4월 26일 (화) 오후 3:58, Miaohe Lin <linmiaohe@xxxxxxxxxx>님이 작성:
>
> 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.

Missing activation for swap-backed executable page is the intended operation.
So, I disagree with this patch until some numbers are provided.
See following discussion.

https://lore.kernel.org/all/20200316161208.GB67986@xxxxxxxxxxx/T/#u

Thanks.