Messages in this thread | | | From | Peter Xu <> | Subject | [PATCH RFC v2 0/3] mm: Properly document tail pages for a folio | Date | Mon, 14 Aug 2023 14:44:08 -0400 |
| |
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
| |