Re: [PATCH v5 3/4] x86/mm/pat: Convert pmd code to use ptdescs

From: Dave Hansen

Date: Wed Feb 11 2026 - 15:07:17 EST


On 2/11/26 11:52, Vishal Moola (Oracle) wrote:
> Also, rename *_pmd_page() functions to *_pmd(). Rename them now to avoid
> any confusion later. Eventually these allocations will be backed by a
> ptdesc not a page, but that's not important to callers either.

So, pages are still a thing, whether the API says 'struct page' or not.
The hardware kinda uses pages for page tables. ;)

Could we please leave out the unnecessary churn from the renames?