diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-05-07 17:17:34 +0200 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-09-27 15:27:32 +0200 |
commit | 646010009d3541b8cb4f803dcb4b8d0da2f22579 (patch) | |
tree | 6193139e6e17ff4d7ef4299b80cdd067f98421da /arch/sh/include/asm | |
parent | mm: Add folio_pfn() (diff) | |
download | linux-646010009d3541b8cb4f803dcb4b8d0da2f22579.tar.xz linux-646010009d3541b8cb4f803dcb4b8d0da2f22579.zip |
mm: Add folio_raw_mapping()
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. Change page_anon_vma() to not call folio_raw_mapping() --
it's more efficient to do the subtraction than the mask.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Howells <dhowells@redhat.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'arch/sh/include/asm')
0 files changed, 0 insertions, 0 deletions