All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] percpu: remove obsolete comments of pcpu_chunk_populated()
@ 2021-09-02  9:47 Jing Xiangfeng
  0 siblings, 0 replies; only message in thread
From: Jing Xiangfeng @ 2021-09-02  9:47 UTC (permalink / raw)
  To: dennis, tj, cl, akpm; +Cc: linux-kernel, jingxiangfeng

Commit b239f7daf553 ("percpu: set PCPU_BITMAP_BLOCK_SIZE to PAGE_SIZE")
removed the parameter 'for_alloc', so remove this comment.

Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
---
 mm/percpu.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/mm/percpu.c b/mm/percpu.c
index 7f2e0151c4e2..e1c20837a42a 100644
--- a/mm/percpu.c
+++ b/mm/percpu.c
@@ -1520,9 +1520,6 @@ static void pcpu_free_chunk(struct pcpu_chunk *chunk)
  * Pages in [@page_start,@page_end) have been populated to @chunk.  Update
  * the bookkeeping information accordingly.  Must be called after each
  * successful population.
- *
- * If this is @for_alloc, do not increment pcpu_nr_empty_pop_pages because it
- * is to serve an allocation in that area.
  */
 static void pcpu_chunk_populated(struct pcpu_chunk *chunk, int page_start,
 				 int page_end)
-- 
2.26.0.106.g9fadedd


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-02  9:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-02  9:47 [PATCH] percpu: remove obsolete comments of pcpu_chunk_populated() Jing Xiangfeng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.