# Re: \[PATCH v14 052/138\] mm: Add folio\_raw\_mapping()

- From: David Howells \<dhowells@redhat.com\>
- Date: 2021-08-10 20:42:25 
- List: linux-fsdevel
- Page: https://ratatoskr.run/linux-fsdevel/2021/08/212006
- Thread: https://ratatoskr.run/linux-mm/2021/07/209943/t/4.md

```text
Matthew Wilcox (Oracle) [ref] wrote:

> Convert __page_rmapping to folio_raw_mapping and move it to mm/internal.h.
> It's only a couple of instructions (load and mask), so it's definitely
> going to be cheaper to inline it than call it.  Leave page_rmapping
> out of line.
> 
> Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>

I assume you're going to call it from another source file at some point,
otherwise this is unnecessary.

Apart from that,

Reviewed-by: David Howells <dhowells@redhat.com>

```
