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

From: Miaohe Lin
Date: Wed Apr 27 2022 - 02:37:02 EST


On 2022/4/27 14:10, ying.huang@xxxxxxxxx wrote:
> On Wed, 2022-04-27 at 13:08 +0900, Joonsoo Kim wrote:
>> 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 for your pointer. Now I understood more about this. I agree to
> keep the original behavior unless we can prove the change with numbers.
>

Many thanks both! I will keep the original behavior. :)

> Best Regards,
> Huang, Ying
>
>
> .
>