aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/core_wildfire.c
diff options
context:
space:
mode:
authorMike Rapoport <rppt@linux.ibm.com>2021-05-17 21:50:08 +0300
committerMike Rapoport <rppt@linux.ibm.com>2021-06-30 11:39:00 +0300
commita4d5613c4dc6d413e0733e37db9d116a2a36b9f3 (patch)
treed1c1b87b229ef3ef31accdd99bd643476b1be4e6 /arch/alpha/kernel/core_wildfire.c
parentmemblock: ensure there is no overflow in memblock_overlaps_region() (diff)
downloadlinux-dev-a4d5613c4dc6d413e0733e37db9d116a2a36b9f3.tar.xz
linux-dev-a4d5613c4dc6d413e0733e37db9d116a2a36b9f3.zip
arm: extend pfn_valid to take into account freed memory map alignment
When unused memory map is freed the preserved part of the memory map is extended to match pageblock boundaries because lots of core mm functionality relies on homogeneity of the memory map within pageblock boundaries. Since pfn_valid() is used to check whether there is a valid memory map entry for a PFN, make it return true also for PFNs that have memory map entries even if there is no actual memory populated there. Signed-off-by: Mike Rapoport <rppt@linux.ibm.com> Tested-by: Kefeng Wang <wangkefeng.wang@huawei.com> Tested-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/alpha/kernel/core_wildfire.c')
0 files changed, 0 insertions, 0 deletions