[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d6dfe598-f7c2-4c3d-b7a3-71b1e928cb04@redhat.com>
Date: Fri, 15 Nov 2024 15:54:14 +0100
From: David Hildenbrand <david@...hat.com>
To: Daniel Gomez <da.gomez@...sung.com>,
Baolin Wang <baolin.wang@...ux.alibaba.com>, akpm@...ux-foundation.org,
hughd@...gle.com
Cc: willy@...radead.org, wangkefeng.wang@...wei.com, 21cnbao@...il.com,
ryan.roberts@....com, ioworker0@...il.com, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 4/5] mm: shmem: add a kernel command line to change the
default huge policy for tmpfs
On 15.11.24 15:02, Daniel Gomez wrote:
> On Tue Nov 12, 2024 at 8:45 AM CET, Baolin Wang wrote:
>> Now the tmpfs can allow to allocate any sized large folios, and the default
>> huge policy is still 'never'. Thus adding a new command line to change
>> the default huge policy will be helpful to use the large folios for tmpfs,
>> which is similar to the 'transparent_hugepage_shmem' cmdline for shmem.
>
>
> I think it would be good to include a summary of why tmpfs is not
> enabling large folios by default as the other fs. David has been
> pretty good at repeating the reasons over and over and it would be very
> valuable to have them included here.
Yes. We also discussed in v4 the idea of having a Kconfig option to just
change the default policy to "always". We could mention that here as well.
--
Cheers,
David / dhildenb
Powered by blists - more mailing lists