This patchset incorporates the page table check functionality supported in the linux community into openEuler 22.09.
The patchset includes:
- 核心功能及x86支持
d283d422c6c4 x86: mm: add x86_64 support for page table check
df4e817b7108 mm: page table check
08d5b29eac7d mm: ptep_clear() page table helper
1eba86c096e3 mm: change page type prior to adding page table entry
- bugfix补丁
80110bbfbba6 mm/page_table_check: check entries at pmd levels
e59a47b8a453 mm/khugepaged: unify collapse pmd clear, flush and free
64d8b9e14512 mm/page_table_check: use unsigned long for page counters
and cleanup
fb5222aae64f mm/debug_vm_pgtable: remove pte entry from the page
table 【5.10不涉及】
- arm64支持
42b2547137f5 arm64/mm: enable ARCH_SUPPORTS_PAGE_TABLE_CHECK
2e7dc2b632a3 mm: remove __HAVE_ARCH_PTEP_CLEAR in pgtable.h
de8c8e52836d mm: page_table_check: add hooks to public helpers
e5a554014618 mm: page_table_check: move pxx_user_accessible_page into x86
92fb05242a1b mm: page_table_check: using PxD_SIZE instead of PxD_PAGE_SIZE
- bugfix补丁
ed928a3402d8 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.
暂无评论