diff options
| author | Zhenhua Huang <[email protected]> | 2025-01-02 07:40:47 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2025-01-07 16:51:42 +0000 |
| commit | 9ab2601dc4c145279dc518bca00349dc1abe77ed (patch) | |
| tree | 73162f64424d0f4ba28b6d02e125a13f93b13db5 /net/unix/garbage.c | |
| parent | arm64/mm: Replace open encodings with PXD_TABLE_BIT (diff) | |
| download | kernel-9ab2601dc4c145279dc518bca00349dc1abe77ed.tar.gz kernel-9ab2601dc4c145279dc518bca00349dc1abe77ed.zip | |
arm64: mm: Test for pmd_sect() in vmemmap_check_pmd()
Commit 2045a3b8911b ("mm/sparse-vmemmap: generalise vmemmap_populate_hugepages()")
introduces the vmemmap_check_pmd() while does not verify if the entry is a
section mapping, as is already done for Loongarch & X86.
The update includes a check for pmd_sect(). Only if pmd_sect() returns true,
further vmemmap population for the addr is skipped.
Signed-off-by: Zhenhua Huang <[email protected]>
Reviewed-by: Anshuman Khandual <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
