linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm: update comments in slub.c
@ 2019-10-07 22:20 Yu Zhao
  2019-10-13 19:30 ` David Rientjes
  0 siblings, 1 reply; 2+ messages in thread
From: Yu Zhao @ 2019-10-07 22:20 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Christoph Lameter, Pekka Enberg, David Rientjes, Joonsoo Kim,
	linux-mm, linux-kernel, Yu Zhao

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(-)

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.
  */
-- 
2.23.0.581.g78d2f28ef7-goog



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] mm: update comments in slub.c
  2019-10-07 22:20 [PATCH] mm: update comments in slub.c Yu Zhao
@ 2019-10-13 19:30 ` David Rientjes
  0 siblings, 0 replies; 2+ messages in thread
From: David Rientjes @ 2019-10-13 19:30 UTC (permalink / raw)
  To: Yu Zhao
  Cc: Andrew Morton, Christoph Lameter, Pekka Enberg, Joonsoo Kim,
	linux-mm, linux-kernel

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>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-13 19:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-07 22:20 [PATCH] mm: update comments in slub.c Yu Zhao
2019-10-13 19:30 ` David Rientjes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox