Re: [PATCH, REBASED 1/2] mm, treewide: Introduce NR_PAGE_ORDERS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 28 Dec 2023, at 9:47, Kirill A. Shutemov wrote:

> NR_PAGE_ORDERS defines the number of page orders supported by the page
> allocator, ranging from 0 to MAX_ORDER, MAX_ORDER + 1 in total.
>
> NR_PAGE_ORDERS assists in defining arrays of page orders and allows for
> more natural iteration over them.
>
> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
> ---
>  .../admin-guide/kdump/vmcoreinfo.rst          |  4 ++--
>  arch/arm64/kvm/hyp/include/nvhe/gfp.h         |  2 +-
>  arch/sparc/kernel/traps_64.c                  |  2 +-
>  drivers/gpu/drm/ttm/tests/ttm_device_test.c   |  2 +-
>  drivers/gpu/drm/ttm/ttm_pool.c                | 20 +++++++++----------
>  include/drm/ttm/ttm_pool.h                    |  2 +-
>  include/linux/mmzone.h                        |  6 ++++--
>  kernel/crash_core.c                           |  2 +-
>  lib/test_meminit.c                            |  2 +-
>  mm/compaction.c                               |  2 +-
>  mm/kmsan/init.c                               |  2 +-
>  mm/page_alloc.c                               | 13 ++++++------
>  mm/page_reporting.c                           |  2 +-
>  mm/show_mem.c                                 |  8 ++++----
>  mm/vmstat.c                                   | 12 +++++------
>  15 files changed, 41 insertions(+), 40 deletions(-)

LGTM. Reviewed-by: Zi Yan <ziy@xxxxxxxxxx>

--
Best Regards,
Yan, Zi

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux