Re: [PATCH v11 33/33] mm: Add folio_mapped()
From: David Howells <dhowells@redhat.com>
Date: 2021-06-16 10:38:15
Also in:
linux-fsdevel, lkml
From: David Howells <dhowells@redhat.com>
Date: 2021-06-16 10:38:15
Also in:
linux-fsdevel, lkml
Matthew Wilcox (Oracle) [off-list ref] wrote:
This function is the equivalent of page_mapped(). It is slightly shorter as we do not need to handle the PageTail() case. Reimplement page_mapped() as a wrapper around folio_mapped(). folio_mapped() is 13 bytes smaller than page_mapped(), but the page_mapped() wrapper is 30 bytes, for a net increase of 17 bytes of text. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Acked-by: Vlastimil Babka <redacted> Reviewed-by: William Kucharski <redacted>
Reviewed-by: David Howells <dhowells@redhat.com>