> Some interfaces use pte_t * for a software PTE value rather than for an > entry stored in a PTE table. These pointers must remain pte_t * when > pointers to PTE table storage are converted to hw_pte_t *. > > Rename these parameters in the install_pte callback, > write_protect_page(), and guard_install_set_pte() to ptentp. The later > Coccinelle conversion skips pointers named ptentp, allowing it to convert > the remaining PTE table pointers without changing these interfaces. > > Some functions already use ptentp for such pointers, including: > - madvise_folio_pte_batch() > - folio_pte_batch_flags() > No need to rename them. > > This patch only renames parameters and makes no functional change. > > Signed-off-by: Muhammad Usama Anjum <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great! -- Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=2
