On Wed, Aug 11, 2021 at 03:59:06PM +0200, Vlastimil Babka wrote:
On 7/15/21 5:35 AM, Matthew Wilcox (Oracle) wrote:
quoted
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.
Maybe mention the page_anon_vma() in changelog too?
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.