Skip to content

Commit 97189f8

Browse files
Matthew Wilcox (Oracle)tehcaster
authored andcommitted
kfence: Remove mention of PG_slab
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>
1 parent a39a6ac commit 97189f8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

mm/kfence/core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -605,8 +605,8 @@ static unsigned long kfence_init_pool(void)
605605
pages = virt_to_page(__kfence_pool);
606606

607607
/*
608-
* Set up object pages: they must have PG_slab set, to avoid freeing
609-
* these as real pages.
608+
* Set up object pages: they must have PGTY_slab set to avoid freeing
609+
* them as real pages.
610610
*
611611
* We also want to avoid inserting kfence_free() in the kfree()
612612
* fast-path in SLUB, and therefore need to ensure kfree() correctly

0 commit comments

Comments
 (0)