[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1554022325-11305-1-git-send-email-liu.xiang6@zte.com.cn>
Date: Sun, 31 Mar 2019 16:52:05 +0800
From: Liu Xiang <liu.xiang6@....com.cn>
To: linux-mm@...ck.org
Cc: linux-kernel@...r.kernel.org, cl@...ux.com, penberg@...nel.org,
rientjes@...gle.com, iamjoonsoo.kim@....com,
akpm@...ux-foundation.org, liuxiang_1999@....com,
Liu Xiang <liu.xiang6@....com.cn>
Subject: [PATCH] slub: update the comment about slab frozen
Now frozen slab can only be on the per cpu partial list.
Signed-off-by: Liu Xiang <liu.xiang6@....com.cn>
---
mm/slub.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/mm/slub.c b/mm/slub.c
index dc77776..9e2f220 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -58,10 +58,11 @@
* D. page->frozen -> frozen state
*
* If a slab is frozen then it is exempt from list management. It is not
- * on any list. The processor that froze the slab is the one who can
- * perform list operations on the page. Other processors may put objects
- * onto the freelist but the processor that froze the slab is the only
- * one that can retrieve the objects from the page's freelist.
+ * on any list except per cpu partial list. The processor that froze the
+ * slab is the one who can perform list operations on the page. Other
+ * processors may put objects onto the freelist but the processor that
+ * froze the slab is the only one that can retrieve the objects from the
+ * page's freelist.
*
* The list_lock protects the partial and full list on each node and
* the partial slab counter. If taken then no new slabs may be added or
--
1.9.1
Powered by blists - more mailing lists