Skip to contentSkip to conversation

percpu: remove obsolete comments of pcpu_chunk_populated()

PATCH Applied Jing Xiangfeng 1 participant 1 message Sep 2, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 percpu: remove obsolete comments of pcpu_chunk_populated()

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

---
 mm/percpu.c | 3 ---
 1 file changed, 3 deletions(-)
mm/percpu.c +0 -3
index 7f2e0151c4e2..e1c20837a42a 100644
@@ -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)
Signature · 1 line
2.26.0.106.g9fadedd