mm: remove page_ref_sub_return()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 24 Apr 2024 19:19:09 +0000 (20:19 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 6 May 2024 00:53:49 +0000 (17:53 -0700)
commit498aefbc69d5719d8e4713b568122c259167f7b9
tree74d72a719e460d6acf8a883062b97262d20e719e
parent53e45c4f6d4f6cd7e62f4cb016018ba31c2ac8b4
mm: remove page_ref_sub_return()

With all callers converted to folios, we can act directly on
folio->_refcount.

Link: https://lkml.kernel.org/r/20240424191914.361554-5-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/page_ref.h