On Thu, 2020-11-26 at 20:42 +0100, Vlastimil Babka wrote: > On 11/26/20 7:14 PM, Rik van Riel wrote: > > On Thu, 2020-11-26 at 18:18 +0100, Vlastimil Babka wrote: > > > > > This patch makes khugepaged treat the mount options > > and/or > > sysfs flag as enabling collapsing of huge pages in case > > enabled = [always] for regular THPs. > > > > Should I send another patch on top > > of this that causes > > khugepaged to be enabled when regular THPs are disabled, > > but shmem THPs are enabled in any way? > > I think it would make sense. Although it might involve counting > thp-enabled shmem mounts and only run khugepaged when there are >0 of > them. That seems feasible. I can do that as a follow-up 4/3 patch after the Thanksgiving weekend :) -- All Rights Reversed.
Attachment:
signature.asc
Description: This is a digitally signed message part