summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorZi Yan <ziy@nvidia.com>2026-09-20 22:27:59 -0400
committerAndrew Morton <akpm@linux-foundation.org>2026-10-08 22:55:14 -0700
commit6eecb67b69af634bbf27279dbef497580d20f9dd (patch)
tree724b91a281637a9333977f3ccf8f3879e8fcaa60 /include/linux
parenta0319334a9cc22d408007b444305394d20a553de (diff)
downloadlinux-6eecb67b69af634bbf27279dbef497580d20f9dd.tar.gz
linux-6eecb67b69af634bbf27279dbef497580d20f9dd.zip
xen/grant-table: stop setting PG_private on pages for grant mapping
gnttab_alloc_pages() stores xen_page_foreign in page->private. On 32-bit, a pointer to an allocated xen_page_foreign is stored; on 64-bit, xen_page_forCcgn is stored inline. Checking page->private != NULL is enough to tell whether a xen_page_foreign needs to be freed on 32-bit and page->private is zeroed unconditionally on 64-bit. It prepares for a future commit that remove PG_private. No functional change intended. Link: https://lore.kernel.org/20260920-remove-pg_private-v5-3-bb68b6a21869@nvidia.com Signed-off-by: Zi Yan <ziy@nvidia.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: David Hildenbrand (Arm) <david@kernel.org> Assisted-by: LLM Cc: Juergen Gross <jgross@suse.com> Cc: Stefano Stabellini <sstabellini@kernel.org> Cc: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions