!114 Add page table check for openEuler-22.09
Merge Pull Request from: @zzmine This patchset incorporates the page table check functionality supported in the linux community into openEuler 22.09. The patchset includes: 1. 核心功能及x86支持 d283d422 x86: mm: add x86_64 support for page table check df4e817b mm: page table check 08d5b29e mm: ptep_clear() page table helper 1eba86c0 mm: change page type prior to adding page table entry 2. bugfix补丁 80110bbf mm/page_table_check: check entries at pmd levels e59a47b8 mm/khugepaged: unify collapse pmd clear, flush and free 64d8b9e1 mm/page_table_check: use unsigned long for page counters and cleanup fb5222aa mm/debug_vm_pgtable: remove pte entry from the page table 【5.10不涉及】 3. arm64支持 42b25471 arm64/mm: enable ARCH_SUPPORTS_PAGE_TABLE_CHECK 2e7dc2b6 mm: remove __HAVE_ARCH_PTEP_CLEAR in pgtable.h de8c8e52 mm: page_table_check: add hooks to public helpers e5a55401 mm: page_table_check: move pxx_user_accessible_page into x86 92fb0524 mm: page_table_check: using PxD_SIZE instead of PxD_PAGE_SIZE 4. bugfix补丁 ed928a34 arm64/mm: fix page table check compile error for CONFIG_PGTABLE_LEVELS=2 Intel Kernel Issue openEuler5.10内核支持页表检查功能(page table check) Test Build and boot kernel successfully. Build with PAGE_TABLE_CHECK=y and boot with page_table_check=on kernel parameter. Link:https://gitee.com/openeuler/kernel/pulls/114 Reviewed-by: Zheng Zengkai <zhengzengkai@huawei.com> Reviewed-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Zheng Zengkai <zhengzengkai@huawei.com>
Showing
include/linux/page_table_check.h
0 → 100644
mm/page_table_check.c
0 → 100644
想要评论请 注册 或 登录