summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorYu Zhao <yuzhao@google.com>2019-03-11 18:57:47 -0600
committerWill Deacon <will.deacon@arm.com>2019-04-09 11:21:50 +0100
commit369aaab845a65b90ceac2801edd577fae442476c (patch)
tree996c9e95de8ad57c083615f9ef546e37a35f93fe /virt
parent90292aca9854a2cbd904127337d6fea30f46290c (diff)
arm64: mm: don't call page table ctors for init_mm
init_mm doesn't require page table lock to be initialized at any level. Add a separate page table allocator for it, and the new one skips page table ctors. The ctors allocate memory when ALLOC_SPLIT_PTLOCKS is set. Not calling them avoids memory leak in case we call pte_free_kernel() on init_mm. Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Yu Zhao <yuzhao@google.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions