lkml.org 
[lkml]   [2021]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 01/46] mm: Add folio_to_pfn()
On Thu, Jun 24, 2021 at 04:12:05PM +0100, Matthew Wilcox wrote:
> On Wed, Jun 23, 2021 at 08:49:55AM +0100, Christoph Hellwig wrote:
> > On Tue, Jun 22, 2021 at 01:15:06PM +0100, Matthew Wilcox (Oracle) wrote:
> > > The pfn of a folio is the pfn of its head page.
> > >
> > > Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
> >
> > Maybe add a kerneldoc comment stating that?
>
> /**
> * folio_to_pfn - Return the Page Frame Number of a folio.
> * @folio: The folio.
> *
> * A folio may contain multiple pages. The pages have consecutive
> * Page Frame Numbers.
> *
> * Return: The Page Frame Number of the first page in the folio.
> */

Looks fine.

\
 
 \ /
  Last update: 2021-06-28 08:20    [W:0.129 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site