diff mbox series

mm: update comments in slub.c

Message ID 20191007222023.162256-1-yuzhao@google.com (mailing list archive)
State New, archived
Headers show
Series mm: update comments in slub.c | expand

Commit Message

Yu Zhao Oct. 7, 2019, 10:20 p.m. UTC
Slub doesn't use PG_active and PG_error anymore.

Signed-off-by: Yu Zhao <yuzhao@google.com>
---
 mm/slub.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

Comments

David Rientjes Oct. 13, 2019, 7:30 p.m. UTC | #1
On Mon, 7 Oct 2019, Yu Zhao wrote:

> Slub doesn't use PG_active and PG_error anymore.
> 
> Signed-off-by: Yu Zhao <yuzhao@google.com>

Acked-by: David Rientjes <rientjes@google.com>
diff mbox series

Patch

diff --git a/mm/slub.c b/mm/slub.c
index 320a1c375e1b..cfbc839dc2ea 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -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.
  */