]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/mm/pat: Convert split_large_page() to use ptdescs
authorVishal Moola (Oracle) <vishal.moola@gmail.com>
Tue, 3 Mar 2026 19:48:27 +0000 (11:48 -0800)
committerDave Hansen <dave.hansen@linux.intel.com>
Wed, 4 Mar 2026 18:08:54 +0000 (10:08 -0800)
commite751303e0ad2e998f421d104193f6904df3516d1
treed834c7b16da0d67863716a610780a74dc2e98eea
parentb2203a9bf53237368a7c7fc976c9616b5562af8e
x86/mm/pat: Convert split_large_page() to use ptdescs

Use the ptdesc APIs for all page table allocation and free sites to
allow their separate allocation from struct page in the future.

Update split_large_page() to allocate a ptdesc instead of allocating a
page for use as a page table.

Signed-off-by: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Link: https://patch.msgid.link/20260303194828.1406905-5-vishal.moola@gmail.com
arch/x86/mm/pat/set_memory.c