projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
924a11b
)
mm/percpu,c: remove obsolete comments of pcpu_chunk_populated()
author
Jing Xiangfeng
<jingxiangfeng@huawei.com>
Thu, 2 Sep 2021 22:01:00 +0000
(15:01 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 3 Sep 2021 16:58:18 +0000
(09:58 -0700)
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>
mm/percpu.c
patch
|
blob
|
history
diff --git
a/mm/percpu.c
b/mm/percpu.c
index 7f2e0151c4e257e92c01252ad8d03cd13619fcbf..e1c20837a42a96f3ae83870d8e45ff9468922f9b 100644
(file)
--- 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)