]> git.baikalelectronics.ru Git - kernel.git/commit
mm/vmstat: correct some wrong comments
authorMiaohe Lin <linmiaohe@huawei.com>
Thu, 2 Sep 2021 22:01:03 +0000 (15:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Sep 2021 16:58:18 +0000 (09:58 -0700)
commit88eb0ee47a51f0eedfddd675a56e6a7f21c1f7c9
tree6335e839b6ee40ae622251e03c7b2202eb45b804
parente3ba3a85f02ae4b8cc062f7d0bb33c168d78f2bb
mm/vmstat: correct some wrong comments

Patch series "Cleanup for vmstat".

This series contains cleanups to remove unneeded return value, correct
wrong comment and simplify the array size calculation.  More details can
be found in the respective changelogs.

This patch (of 3):

Correct wrong fls(mem+1) to fls(mem)+1 and remove the duplicated comment
with quiet_vmstat().

Link: https://lkml.kernel.org/r/20210715122911.15700-1-linmiaohe@huawei.com
Link: https://lkml.kernel.org/r/20210715122911.15700-2-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmstat.c