Skip to content

minor cleanups of include/linux/mm.h

Mike Rapoport linux-mm lkml oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mm: move page_rmapping() and page_anon_vma() to mm/internal.hinclude/linux/mm.h mm/internal.h+3 -21 reply
2/2include/linux/mm.h: remove duplicated declaration of page_mapping()include/linux/mm.h+0 -21 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchMatthew Wilcox (Oracle)
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] minor cleanups of include/linux/mm.h

From: Mike Rapoport <[email protected]>

Hi,

While looking at recent page_mapping_file() changes I've noticed that page_rmapping() and page_anon_vma() could be moved from include/linux/mm.h and we don't need two forward declarations of page_mapping().

I've also noticed that except page_mapping_file() we have somewhat similar page_file_mapping(), which seems superfluous, but I didn't dig further to see how one of them can be dropped.

The patches are vs v5.12-rc5-mmots-2021-03-31-22-26.

Mike Rapoport (2):
mm: move page_rmapping() and page_anon_vma() to mm/internal.h include/linux/mm.h: remove duplicated declaration of page_mapping()

 include/linux/mm.h | 4 ----
 mm/internal.h      | 3 +++
 2 files changed, 3 insertions(+), 4 deletions(-)
Signature · 1 line
2.28.0