lkml.org 
[lkml]   [2023]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH RFC v2 0/3] mm: Properly document tail pages for a folio
Date
rfcv1: https://lore.kernel.org/r/20230810204944.53471-1-peterx@redhat.com

This is rfcv2 of the patch, where I split two small changes out from the
last patch. Please refer to each patch for details. The goal of the
series is to document clearly on how the fields in struct folio is reused
over tail pages, and make it clear on what can still be reused as free.

Smoke tested on x86_64 only, kernel-doc should have no change.

Comments welcomed. Thanks.

Peter Xu (3):
mm: Add TAIL_MAPPING_REUSED_MAX
mm: Reorg and declare free spaces in struct folio tails
mm: Proper document tail pages fields for folio

include/linux/mm_types.h | 60 ++++++++++++++++++++++++++++++++++++----
mm/huge_memory.c | 6 ++--
2 files changed, 58 insertions(+), 8 deletions(-)

--
2.41.0

\
 
 \ /
  Last update: 2023-08-14 20:46    [W:0.078 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site