Skip to content

fix several contiguous memmap assumptions

Chen Wandun linux-mm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mm: fix contiguous memmap assumptions about split pagemm/compaction.c mm/huge_memory.c mm/page_alloc.c+5 -51 reply
2/2mm: fix contiguous memmap assumptions about alloc/free pagesmm/page_alloc.c+9 -71 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] fix several contiguous memmap assumptions

v1 ==> v2:
remove page_nth

It isn't true for only SPARSEMEM configs to assume that a compound page has virtually contiguous page structs, so use nth_page to iterate each page.

Inspired by:
https://lore.kernel.org/linux-mm/[email protected]/

Chen Wandun (2):
mm: fix contiguous memmap assumptions about split page
mm: fix contiguous memmap assumptions about alloc/free pages

 mm/compaction.c  |  6 +++---
 mm/huge_memory.c |  2 +-
 mm/page_alloc.c  | 18 ++++++++++--------
 3 files changed, 14 insertions(+), 12 deletions(-)
Signature · 1 line
2.18.0.huawei.25