Commit 15cd900
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: 44042b4 ("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>1 parent 26c92d3 commit 15cd900
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3446 | 3446 | | |
3447 | 3447 | | |
3448 | 3448 | | |
3449 | | - | |
| 3449 | + | |
3450 | 3450 | | |
3451 | 3451 | | |
3452 | 3452 | | |
| |||
3803 | 3803 | | |
3804 | 3804 | | |
3805 | 3805 | | |
3806 | | - | |
| 3806 | + | |
3807 | 3807 | | |
3808 | 3808 | | |
3809 | 3809 | | |
| |||
0 commit comments