From: Andrew Morton <akpm@linux-foundation.org>
To: ZhangNeil <neilzhang1123@hotmail.com>
Cc: "linux-mm@kvack.org" <linux-mm@kvack.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2] mm: show free pages per each migrate type
Date: Thu, 9 Apr 2015 21:24:41 -0700 [thread overview]
Message-ID: <20150409212441.a64c3fe0.akpm@linux-foundation.org> (raw)
In-Reply-To: <COL130-W536B434DEADC19798C2A9FBAFA0@phx.gbl>
On Fri, 10 Apr 2015 04:16:15 +0000 ZhangNeil <neilzhang1123@hotmail.com> wrote:
> > I think we can eliminate nr_free[][]:
>
> what about make it as global__variable?
That isn't as good - it permanently consumes memory and really requires
new locking to protect the array from concurrent callers.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2015-04-10 4:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-09 2:19 Neil Zhang
2015-04-09 20:47 ` Andrew Morton
2015-04-10 4:16 ` ZhangNeil
2015-04-10 4:24 ` Andrew Morton [this message]
2015-04-12 7:17 ` ZhangNeil
2015-04-12 7:25 ` Andrew Morton
2015-04-11 2:50 ` David Rientjes
2015-04-12 7:02 ` ZhangNeil
2015-04-12 7:08 ` ZhangNeil
2015-04-13 23:42 ` David Rientjes
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=20150409212441.a64c3fe0.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=neilzhang1123@hotmail.com \
/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