Skip to content

Fixes "mm/sparsemem: support sub-section hotplug"

Wei Yang linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mm/sparsemem: adjust memmap only for SPARSEMEM_VMEMMAPmm/sparse.c+2 -12 replies
2/3mm/sparsemem: get physical address to page struct instead of virtual address to pfnmm/sparse.c+1 -115 replies
3/3mm/sparsemem: avoid memmap overwrite for non-SPARSEMEM_VMEMMAPmm/sparse.c+10 -03 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] Fixes "mm/sparsemem: support sub-section hotplug"

During reviewing David's code, I found current sub-section hotplug is broken in several places.

The following link fix one potential issue, while David and I still spot some suspicious points.

https://lkml.org/lkml/2020/2/6/334

The problem here is mainly about the memmap manipulation:

* memmap would be overwrite if not use SPARSEMEM_VMEMMAP
* only need to adjust memmap for SPARSEMEM_VMEMMAP

Wei Yang (3):
mm/sparsemem: adjust memmap only for SPARSEMEM_VMEMMAP mm/sparsemem: get physical address to page struct instead of virtual
address to pfn
mm/sparsemem: avoid memmap overwrite for non-SPARSEMEM_VMEMMAP

 mm/sparse.c | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)
Signature · 1 line
2.17.1