[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b8a36659-f1a5-4d28-9c0a-3426dd93c010@redhat.com>
Date: Tue, 27 Feb 2024 16:08:07 +0100
From: David Hildenbrand <david@...hat.com>
To: Barry Song <21cnbao@...il.com>, akpm@...ux-foundation.org,
linux-mm@...ck.org
Cc: linux-kernel@...r.kernel.org, Barry Song <v-songbaohua@...o.com>,
Lance Yang <ioworker0@...il.com>, Ryan Roberts <ryan.roberts@....com>,
Yin Fengwei <fengwei.yin@...el.com>
Subject: Re: [PATCH v2] mm: make folio_pte_batch available outside of
mm/memory.c
On 27.02.24 11:42, Barry Song wrote:
> From: Barry Song <v-songbaohua@...o.com>
>
> madvise, mprotect and some others might need folio_pte_batch to check if
> a range of PTEs are completely mapped to a large folio with contiguous
> physical addresses. Let's make it available in mm/internal.h.
>
Would have added
"
While at it, add proper kernel doc and sanity-check more input
parameters using two additional VM_WARN_ON_FOLIO().
"
Acked-by: David Hildenbrand <david@...hat.com>
--
Cheers,
David / dhildenb
Powered by blists - more mailing lists