diff options
author | Jing Xiangfeng <jingxiangfeng@huawei.com> | 2021-09-02 15:01:00 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-09-03 09:58:18 -0700 |
commit | 319814504992f51ed17af60edb1a237ada1892e8 (patch) | |
tree | 8f24b6f3ce896bd785fbd94976600da82cf393ef /mm/percpu.c | |
parent | 924a11bd1623787c6604590202e0920eb572fa42 (diff) | |
download | linux-stable-319814504992f51ed17af60edb1a237ada1892e8.tar.gz linux-stable-319814504992f51ed17af60edb1a237ada1892e8.tar.bz2 linux-stable-319814504992f51ed17af60edb1a237ada1892e8.zip |
mm/percpu,c: 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.
Link: https://lkml.kernel.org/r/1630576043-21367-1-git-send-email-jingxiangfeng@huawei.com
Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/percpu.c')
-rw-r--r-- | mm/percpu.c | 3 |
1 files changed, 0 insertions, 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) |