diff options
author | Yafang Shao <laoar.shao@gmail.com> | 2022-10-06 10:15:40 +0000 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-10-12 18:51:51 -0700 |
commit | 15cd90049d595e592d8860ee15a3f23491d54d17 (patch) | |
tree | 0daa991464b018c5f74eb15f6e6cc44ec3b2767b /fs | |
parent | 26c92d37d3dc484157bdb4eb7d29991c017b168b (diff) |
mm/page_alloc: fix incorrect PGFREE and PGALLOC for high-order page
PGFREE and PGALLOC represent the number of freed and allocated pages. So
the page order must be considered.
Link: https://lkml.kernel.org/r/20221006101540.40686-1-laoar.shao@gmail.com
Fixes: 44042b449872 ("mm/page_alloc: allow high-order pages to be stored on the per-cpu lists")
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Acked-by: Mel Gorman <mgorman@techsingularity.net>
Reviewed-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions