Re: [PATCH v5 1/6] mm: memory: extend finish_fault() to support large folio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 2024/6/11 22:38, Zi Yan wrote:
On 11 Jun 2024, at 6:11, Baolin Wang wrote:

Add large folio mapping establishment support for finish_fault() as a
preparation, to support multi-size THP allocation of anonymous shmem pages
in the following patches.

Keep the same behavior (per-page fault) for non-anon shmem to avoid inflating
the RSS unintentionally, and we can discuss what size of mapping to build
when extending mTHP to control non-anon shmem in the future.

Signed-off-by: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx>
---
  mm/memory.c | 57 +++++++++++++++++++++++++++++++++++++++++++----------
  1 file changed, 47 insertions(+), 10 deletions(-)

LGTM. Reviewed-by: Zi Yan <ziy@xxxxxxxxxx>

Thanks Zi for reviewing.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux