mm, meminfo: modify page counting 49/264249/2
authorSung-hun Kim <sfoon.kim@samsung.com>
Wed, 15 Sep 2021 04:28:04 +0000 (13:28 +0900)
committerSung-hun Kim <sfoon.kim@samsung.com>
Wed, 15 Sep 2021 06:03:54 +0000 (15:03 +0900)
commit8690fa3fc22ac74304f26441798e540f8f929926
treeae181b4f11fa80313c3af51992033fbb1c9d17e9
parent77427aa27cc83043be034d102525002f50bbf05f
mm, meminfo: modify page counting

Two counters, nr_phys_huge_pmd_pages and nr_phys_cont_pte_pages, are
counted by different units.
This patch enforces two counters counted by pages, not huge pages.

Change-Id: I1fcb6a1a9c3a60c956b861e79ec3714a33004991
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
fs/proc/meminfo.c
mm/huge_memory.c
mm/memory.c