arm64/mm: Fix pfn_valid() for ZONE_DEVICE based memory
Status from this message: Applied to arm64 (for-next/fixes), thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
Changes in v3 from the cover letter
- Validate the pfn before fetching mem_section with __pfn_to_section() in [PATCH 2/2]
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | arm64/mm: Fix pfn_valid() for ZONE_DEVICE based memoryarch/ | +12 | 4 replies | |
| 2/2 | arm64/mm: Reorganize pfn_valid()arch/ | +16 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | David Hildenbrand | Catalin Marinas |
|---|---|---|
| 1/2 | A-b | A-b |
| 2/2 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V3 0/2] arm64/mm: Fix pfn_valid() for ZONE_DEVICE based memory
This series fixes pfn_valid() for ZONE_DEVICE based memory and also improves its performance for normal hotplug memory. While here, it also reorganizes pfn_valid() on CONFIG_SPARSEMEM. This series is based on v5.12-rc1.
Changes in V3:
- Validate the pfn before fetching mem_section with __pfn_to_section() in [PATCH 2/2]
Changes in V2:
https://lore.kernel.org/linux-mm/[email protected]/
- Dropped pfn_valid() bifurcation based on CONFIG_SPARSEMEM
- Used PFN_PHYS() and PHYS_PFN() instead of __pfn_to_phys() and __phys_to_pfn()
- Moved __pfn_to_section() inside #ifdef CONFIG_SPARSEMEM with a { } construct
Changes in V1:
https://lore.kernel.org/linux-mm/[email protected]/
- Test pfn_section_valid() for non boot memory
Changes in RFC:
https://lore.kernel.org/linux-arm-kernel/[email protected]/
Anshuman Khandual (2):
arm64/mm: Fix pfn_valid() for ZONE_DEVICE based memory arm64/mm: Reorganize pfn_valid()
arch/arm64/mm/init.c | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-)
Signature · 1 line
2.20.1