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) <[email protected]> Acked-by: Harry Yoo <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Vlastimil Babka <[email protected]>
1 parent a39a6ac commit 97189f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)