lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 28 Jun 2021 07:18:10 +0100
From:   Christoph Hellwig <hch@...radead.org>
To:     Matthew Wilcox <willy@...radead.org>
Cc:     Christoph Hellwig <hch@...radead.org>, akpm@...ux-foundation.org,
        linux-fsdevel@...r.kernel.org, linux-mm@...ck.org,
        linux-kernel@...r.kernel.org
Subject: Re: [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@...radead.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.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ