]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86: Update comment about pgd_list
authorBrendan Jackman <jackmanb@google.com>
Mon, 23 Mar 2026 14:25:07 +0000 (14:25 +0000)
committerDave Hansen <dave.hansen@linux.intel.com>
Mon, 11 May 2026 18:26:33 +0000 (11:26 -0700)
commit952ac097ce98901c608cdced012f89a90367401e
tree738de21eef7fae1dfaeeb039b6de677db55cfaf8
parent5d6919055dec134de3c40167a490f33c74c12581
x86: Update comment about pgd_list

This venerable comment got detached from its context when the code moved
in commit 394158559d4c ("x86: move all the pgd_list handling to one
place"). Put it back next to its context. It was originally on
pgd_list_add() but it actually describes pgd_list so put it there.

While moving it, update it to strip away stale and superfluous info.
pageattr.c doesn't exist any more. pgd_list is now required
for all x86 architectures. Also be slightly more precise about what PGDs
are in this list.

[ dhansen: tweak and trim the updated comment a bit ]

Signed-off-by: Brendan Jackman <jackmanb@google.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://patch.msgid.link/20260323-pgd_list-comment-v2-1-77ccf2dc77e8@google.com
arch/x86/mm/fault.c
arch/x86/mm/pgtable.c