]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
kfence: Remove mention of PG_slab
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 11 Jun 2025 15:59:12 +0000 (16:59 +0100)
committerVlastimil Babka <vbabka@suse.cz>
Wed, 23 Jul 2025 09:55:22 +0000 (11:55 +0200)
Improve the documentation slightly, assuming I understood it correctly.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Harry Yoo <harry.yoo@oracle.com>
Link: https://patch.msgid.link/20250611155916.2579160-10-willy@infradead.org
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
mm/kfence/core.c

index 102048821c222a2f57f5495733e322f256c64751..0ed3be100963a8ae62a82c63580d73e130d2c148 100644 (file)
@@ -605,8 +605,8 @@ static unsigned long kfence_init_pool(void)
        pages = virt_to_page(__kfence_pool);
 
        /*
-        * Set up object pages: they must have PG_slab set, to avoid freeing
-        * these as real pages.
+        * Set up object pages: they must have PGTY_slab set to avoid freeing
+        * them as real pages.
         *
         * We also want to avoid inserting kfence_free() in the kfree()
         * fast-path in SLUB, and therefore need to ensure kfree() correctly