diff options
author | Muchun Song <songmuchun@bytedance.com> | 2022-04-22 14:00:33 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-04-22 11:28:36 +0100 |
commit | 23bc8f69f0eceecbb87c3801d2e48827d2dca92b (patch) | |
tree | 05082ad97d3264fe8b343fcddcc88712c26b39f2 /Documentation | |
parent | 0ff74a23e08f909ce859039e860f53727dfed0dd (diff) |
arm64: mm: fix p?d_leaf()
The pmd_leaf() is used to test a leaf mapped PMD, however, it misses
the PROT_NONE mapped PMD on arm64. Fix it. A real world issue [1]
caused by this was reported by Qian Cai. Also fix pud_leaf().
Link: https://patchwork.kernel.org/comment/24798260/ [1]
Fixes: 8aa82df3c123 ("arm64: mm: add p?d_leaf() definitions")
Reported-by: Qian Cai <quic_qiancai@quicinc.com>
Signed-off-by: Muchun Song <songmuchun@bytedance.com>
Link: https://lore.kernel.org/r/20220422060033.48711-1-songmuchun@bytedance.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions