Re: [PATCH v11 02/33] mm: Introduce struct folio

From: David Howells
Date: Wed Jun 16 2021 - 05:31:55 EST


Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> wrote:

> + * Return: The base-2 logarithm of the size of this folio.

You could probably just say "Return: log2 of the size of this folio".

Could we also get a synonym for page_offset()? Perhaps called folio_fpos()
rather than folio_offset()? "Offset" is a bit generic.

Reviewed-by: David Howells <dhowells@xxxxxxxxxx>