# Re: \[PATCH v14 006/138\] mm: Add folio reference count functions

- From: Mike Rapoport \<rppt@kernel.org\>
- Date: 2021-07-20 10:42:26 
- List: linux-mm
- Page: https://ratatoskr.run/linux-mm/2021/07/210547
- Thread: https://ratatoskr.run/linux-mm/2021/07/209943/t/3.md

```text
On Thu, Jul 15, 2021 at 04:34:52AM +0100, Matthew Wilcox (Oracle) wrote:
> These functions mirror their page reference counterparts.  Also add
> the kernel-doc to the mm-api and correct the return type of
> page_ref_add_unless() to bool.  No change to generated code.
> 
> Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
> Reviewed-by: Christoph Hellwig <hch@lst.de>
> Acked-by: Jeff Layton <jlayton@kernel.org>
> Acked-by: Kirill A. Shutemov <redacted>
> Acked-by: Vlastimil Babka <redacted>
> Reviewed-by: William Kucharski <redacted>
> Reviewed-by: David Howells <dhowells@redhat.com>
> ---
>  Documentation/core-api/mm-api.rst |  1 +
>  include/linux/page_ref.h          | 88 ++++++++++++++++++++++++++++++-
>  2 files changed, 88 insertions(+), 1 deletion(-)

Acked-by: Mike Rapoport <redacted>


```
