Commit 80cf8179 authored by David Hildenbrand's avatar David Hildenbrand Committed by Alexander Gordeev

s390/uv: Update PG_arch_1 comment

We removed the usage of PG_arch_1 for page tables in commit
a51324c4 ("s390/cmma: rework no-dat handling").

Let's update the comment in UV to reflect that.
Reviewed-by: default avatarClaudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: default avatarDavid Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20240508182955.358628-6-david@redhat.comSigned-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
Signed-off-by: default avatarAlexander Gordeev <agordeev@linux.ibm.com>
parent 036c0e10
...@@ -495,13 +495,12 @@ int arch_make_page_accessible(struct page *page) ...@@ -495,13 +495,12 @@ int arch_make_page_accessible(struct page *page)
return 0; return 0;
/* /*
* PG_arch_1 is used in 3 places: * PG_arch_1 is used in 2 places:
* 1. for kernel page tables during early boot * 1. for storage keys of hugetlb folios and KVM
* 2. for storage keys of huge pages and KVM * 2. As an indication that this small folio might be secure. This can
* 3. As an indication that this small folio might be secure. This can
* overindicate, e.g. we set the bit before calling * overindicate, e.g. we set the bit before calling
* convert_to_secure. * convert_to_secure.
* As secure pages are never huge, all 3 variants can co-exists. * As secure pages are never large folios, both variants can co-exists.
*/ */
if (!test_bit(PG_arch_1, &folio->flags)) if (!test_bit(PG_arch_1, &folio->flags))
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment