summaryrefslogtreecommitdiff
path: root/kernel/kcsan
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 /kernel/kcsan
parent023accf5cdc1e504a9b04187ec23ff156fe53d90 (diff)
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 'kernel/kcsan')
0 files changed, 0 insertions, 0 deletions