linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Kefeng Wang <wangkefeng.wang@huawei.com>
To: Matthew Wilcox <willy@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	<linux-kernel@vger.kernel.org>, <linux-mm@kvack.org>,
	<linuxppc-dev@lists.ozlabs.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Michael Ellerman <mpe@ellerman.id.au>,
	Nicholas Piggin <npiggin@gmail.com>,
	Christophe Leroy <christophe.leroy@csgroup.eu>
Subject: Re: [PATCH 1/2] mm: remove arguments of show_mem()
Date: Fri, 30 Jun 2023 08:53:19 +0800	[thread overview]
Message-ID: <97167eb3-9f22-e7a8-ba48-425f1d043f01@huawei.com> (raw)
In-Reply-To: <ZJ2gfixfUBXCV/+P@casper.infradead.org>



On 2023/6/29 23:17, Matthew Wilcox wrote:
> On Thu, Jun 29, 2023 at 06:43:56PM +0800, Kefeng Wang wrote:
>> Directly call __show_mem(0, NULL, MAX_NR_ZONES - 1) in show_mem()
>> to remove the arguments of show_mem().
> 
> Do you mean, "All callers of show_mem() pass 0 and NULL, so we can
> remove the two arguments"?

Yes, will update with above to make it clear, thanks Matthew.

> 


      reply	other threads:[~2023-06-30  0:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-29 10:43 Kefeng Wang
2023-06-29 10:43 ` [PATCH 2/2] mm: make show_free_areas() static Kefeng Wang
2023-06-29 15:00   ` kernel test robot
2023-06-30  0:55     ` Kefeng Wang
2023-06-29 15:10   ` kernel test robot
2023-06-29 15:17 ` [PATCH 1/2] mm: remove arguments of show_mem() Matthew Wilcox
2023-06-30  0:53   ` Kefeng Wang [this message]

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=97167eb3-9f22-e7a8-ba48-425f1d043f01@huawei.com \
    --to=wangkefeng.wang@huawei.com \
    --cc=akpm@linux-foundation.org \
    --cc=christophe.leroy@csgroup.eu \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=npiggin@gmail.com \
    --cc=willy@infradead.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