From: Seth Jennings <sjenning@linux.vnet.ibm.com>
To: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>,
Bob Liu <bob.liu@oracle.com>, Mel Gorman <mgorman@suse.de>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
Marek Szyprowski <m.szyprowski@samsung.com>,
Kyungmin Park <kyungmin.park@samsung.com>,
Dave Hansen <dave.hansen@intel.com>,
Minchan Kim <minchan@kernel.org>
Subject: Re: [RFC PATCH 2/4] mm: use mapcount for identifying zbud pages
Date: Mon, 9 Sep 2013 14:53:35 -0500 [thread overview]
Message-ID: <20130909195335.GF4701@variantweb.net> (raw)
In-Reply-To: <1377852176-30970-3-git-send-email-k.kozlowski@samsung.com>
On Fri, Aug 30, 2013 at 10:42:54AM +0200, Krzysztof Kozlowski wrote:
> Currently zbud pages do not have any flags set so it is not possible to
> identify them during migration or compaction.
>
> Implement PageZbud() by comparing page->_mapcount to -127 to distinguish
> pages allocated by zbud. Just like PageBuddy() is implemented.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Seth Jennings <sjenning@linux.vnet.ibm.com>
> ---
> include/linux/mm.h | 23 +++++++++++++++++++++++
> mm/zbud.c | 4 ++++
> 2 files changed, 27 insertions(+)
--
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>
WARNING: multiple messages have this Message-ID (diff)
From: Seth Jennings <sjenning@linux.vnet.ibm.com>
To: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>,
Bob Liu <bob.liu@oracle.com>, Mel Gorman <mgorman@suse.de>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
Marek Szyprowski <m.szyprowski@samsung.com>,
Kyungmin Park <kyungmin.park@samsung.com>,
Dave Hansen <dave.hansen@intel.com>,
Minchan Kim <minchan@kernel.org>
Subject: Re: [RFC PATCH 2/4] mm: use mapcount for identifying zbud pages
Date: Mon, 9 Sep 2013 14:53:35 -0500 [thread overview]
Message-ID: <20130909195335.GF4701@variantweb.net> (raw)
In-Reply-To: <1377852176-30970-3-git-send-email-k.kozlowski@samsung.com>
On Fri, Aug 30, 2013 at 10:42:54AM +0200, Krzysztof Kozlowski wrote:
> Currently zbud pages do not have any flags set so it is not possible to
> identify them during migration or compaction.
>
> Implement PageZbud() by comparing page->_mapcount to -127 to distinguish
> pages allocated by zbud. Just like PageBuddy() is implemented.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Seth Jennings <sjenning@linux.vnet.ibm.com>
> ---
> include/linux/mm.h | 23 +++++++++++++++++++++++
> mm/zbud.c | 4 ++++
> 2 files changed, 27 insertions(+)
next prev parent reply other threads:[~2013-09-09 19:53 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-30 8:42 [RFC PATCH 0/4] mm: migrate zbud pages Krzysztof Kozlowski
2013-08-30 8:42 ` Krzysztof Kozlowski
2013-08-30 8:42 ` [RFC PATCH 1/4] zbud: use page ref counter for " Krzysztof Kozlowski
2013-08-30 8:42 ` Krzysztof Kozlowski
2013-09-08 9:04 ` Bob Liu
2013-09-08 9:04 ` Bob Liu
2013-09-09 6:14 ` Krzysztof Kozlowski
2013-09-09 6:14 ` Krzysztof Kozlowski
2013-09-09 19:47 ` Seth Jennings
2013-09-09 19:47 ` Seth Jennings
2013-09-10 7:16 ` Krzysztof Kozlowski
2013-09-10 7:16 ` Krzysztof Kozlowski
2013-08-30 8:42 ` [RFC PATCH 2/4] mm: use mapcount for identifying " Krzysztof Kozlowski
2013-08-30 8:42 ` Krzysztof Kozlowski
2013-09-09 19:53 ` Seth Jennings [this message]
2013-09-09 19:53 ` Seth Jennings
2013-08-30 8:42 ` [RFC PATCH 3/4] mm: use indirect zbud handle and radix tree Krzysztof Kozlowski
2013-08-30 8:42 ` Krzysztof Kozlowski
2013-08-30 8:42 ` [RFC PATCH 4/4] mm: migrate zbud pages Krzysztof Kozlowski
2013-08-30 8:42 ` Krzysztof Kozlowski
2013-09-06 17:30 ` [RFC PATCH 0/4] " Seth Jennings
2013-09-06 17:30 ` Seth Jennings
2013-09-09 6:55 ` Krzysztof Kozlowski
2013-09-09 6:55 ` Krzysztof Kozlowski
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=20130909195335.GF4701@variantweb.net \
--to=sjenning@linux.vnet.ibm.com \
--cc=akpm@linux-foundation.org \
--cc=b.zolnierkie@samsung.com \
--cc=bob.liu@oracle.com \
--cc=dave.hansen@intel.com \
--cc=k.kozlowski@samsung.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=m.szyprowski@samsung.com \
--cc=mgorman@suse.de \
--cc=minchan@kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.