From: Zi Yan <ziy@nvidia.com>
To: "\"Kirill A. Shutemov\"" <kirill.shutemov@linux.intel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Linus Torvalds <torvalds@linux-foundation.org>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH, REBASED 1/2] mm, treewide: Introduce NR_PAGE_ORDERS
Date: Thu, 28 Dec 2023 16:32:05 -0500 [thread overview]
Message-ID: <76DD70AA-1394-4E98-BFAE-94DF22506DB5@nvidia.com> (raw)
In-Reply-To: <20231228144704.14033-1-kirill.shutemov@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 1409 bytes --]
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@linux.intel.com>
> ---
> .../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@nvidia.com>
--
Best Regards,
Yan, Zi
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 854 bytes --]
next prev parent reply other threads:[~2023-12-28 21:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-28 14:47 Kirill A. Shutemov
2023-12-28 14:47 ` [PATCH, REBASED 2/2] mm, treewide: Rename MAX_ORDER to MAX_PAGE_ORDER Kirill A. Shutemov
2023-12-28 21:32 ` Zi Yan [this message]
2023-12-29 17:47 ` [PATCH, REBASED 1/2] mm, treewide: Introduce NR_PAGE_ORDERS kernel test robot
2024-01-01 11:15 ` Kirill A. Shutemov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=76DD70AA-1394-4E98-BFAE-94DF22506DB5@nvidia.com \
--to=ziy@nvidia.com \
--cc=akpm@linux-foundation.org \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®