mm: update comments in slub.c
Subsystems (2)
PATCH 1/1 mm: update comments in slub.c
Slub doesn't use PG_active and PG_error anymore.
Signed-off-by Yu Zhao <[email protected]>
--- mm/slub.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
mm/slub.c +2 -4
@@ -93,9 +93,7 @@* minimal so we rely on the page allocators per cpu caches for * fast frees and allocs. * -* Overloading of page flags that are otherwise used for LRU management. -* -* PageActive The slab is frozen and exempt from list processing. +* page->frozen The slab is frozen and exempt from list processing. * This means that the slab is dedicated to a purpose * such as satisfying allocations for a specific * processor. Objects may be freed in the slab while
@@ -111,7 +109,7 @@* free objects in addition to the regular freelist * that requires the slab lock. * -* PageError Slab requires special handling due to debug +* SLAB_DEBUG_FLAGS Slab requires special handling due to debug * options set. This moves slab handling out of * the fast path and disables lockless freelists. */
Signature · 1 line
2.23.0.581.g78d2f28ef7-goog
Quoted 3 lines · Yu Zhao
Slub doesn't use
PG_activeandPG_erroranymore.Signed-off-by Yu Zhao <[email protected]>
Acked-by David Rientjes <[email protected]>