Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Matthew Wilcox (Oracle) and committed by
Vlastimil Babka
97189f84 a39a6acc

+2 -2
+2 -2
mm/kfence/core.c
··· 605 605 pages = virt_to_page(__kfence_pool); 606 606 607 607 /* 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. 610 610 * 611 611 * We also want to avoid inserting kfence_free() in the kfree() 612 612 * fast-path in SLUB, and therefore need to ensure kfree() correctly