]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
s390/uv: Update PG_arch_1 comment
authorDavid Hildenbrand <david@redhat.com>
Wed, 8 May 2024 18:29:50 +0000 (20:29 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Wed, 5 Jun 2024 15:17:24 +0000 (17:17 +0200)
We removed the usage of PG_arch_1 for page tables in commit
a51324c430db ("s390/cmma: rework no-dat handling").

Let's update the comment in UV to reflect that.

Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20240508182955.358628-6-david@redhat.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/kernel/uv.c

index 914dcec273294a3fd09cb23e5c2f49797d1fe340..ecfc08902215d793174c7b77550c10fc35df0d08 100644 (file)
@@ -495,13 +495,12 @@ int arch_make_page_accessible(struct page *page)
                return 0;
 
        /*
-        * PG_arch_1 is used in 3 places:
-        * 1. for kernel page tables during early boot
-        * 2. for storage keys of huge pages and KVM
-        * 3. As an indication that this small folio might be secure. This can
+        * PG_arch_1 is used in 2 places:
+        * 1. for storage keys of hugetlb folios and KVM
+        * 2. As an indication that this small folio might be secure. This can
         *    overindicate, e.g. we set the bit before calling
         *    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))
                return 0;