Skip to content

Commit 3198145

Browse files
hiss2018torvalds
authored andcommitted
mm/percpu,c: remove obsolete comments of pcpu_chunk_populated()
Commit b239f7d ("percpu: set PCPU_BITMAP_BLOCK_SIZE to PAGE_SIZE") removed the parameter 'for_alloc', so remove this comment. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Jing Xiangfeng <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 924a11b commit 3198145

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

mm/percpu.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1520,9 +1520,6 @@ static void pcpu_free_chunk(struct pcpu_chunk *chunk)
15201520
* Pages in [@page_start,@page_end) have been populated to @chunk. Update
15211521
* the bookkeeping information accordingly. Must be called after each
15221522
* successful population.
1523-
*
1524-
* If this is @for_alloc, do not increment pcpu_nr_empty_pop_pages because it
1525-
* is to serve an allocation in that area.
15261523
*/
15271524
static void pcpu_chunk_populated(struct pcpu_chunk *chunk, int page_start,
15281525
int page_end)

0 commit comments

Comments
 (0)