From: Cong Wang <xiyou.wangcong@gmail.com>
To: linux-mm@kvack.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 4/4] mm/hotplug: mark memory hotplug code in page_alloc.c as __meminit
Date: Thu, 5 Jul 2012 13:26:21 +0000 (UTC) [thread overview]
Message-ID: <jt44ls$lq0$2@dough.gmane.org> (raw)
In-Reply-To: 1341481532-1700-4-git-send-email-jiang.liu@huawei.com
On Thu, 05 Jul 2012 at 09:45 GMT, Jiang Liu <jiang.liu@huawei.com> wrote:
> Mark functions used by both boot and memory hotplug as __meminit to reduce
> memory footprint when memory hotplug is disabled.
>
> Alos guard zone_pcp_update() with CONFIG_MEMORY_HOTPLUG because it's only
> used by memory hotplug code.
>
If so, why not move it to mm/memory_hotplug.c and make it static?
--
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:[~2012-07-05 13:26 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-05 9:45 [PATCH 1/4] mm/hotplug: correctly setup fallback zonelists when creating new pgdat Jiang Liu
2012-07-05 9:45 ` Jiang Liu
2012-07-05 9:45 ` [PATCH 2/4] mm/hotplug: correctly add new zone to all other nodes' zone lists Jiang Liu
2012-07-05 9:45 ` Jiang Liu
2012-07-05 9:45 ` [PATCH 3/4] mm/hotplug: free zone->pageset when a zone becomes empty Jiang Liu
2012-07-05 9:45 ` Jiang Liu
2012-07-19 7:58 ` Bob Liu
2012-07-19 7:58 ` Bob Liu
2012-07-24 9:47 ` Jiang Liu
2012-07-24 9:47 ` Jiang Liu
2012-07-31 7:43 ` Wen Congyang
2012-07-31 7:43 ` Wen Congyang
2012-07-05 9:45 ` [PATCH 4/4] mm/hotplug: mark memory hotplug code in page_alloc.c as __meminit Jiang Liu
2012-07-05 9:45 ` Jiang Liu
2012-07-05 13:26 ` Cong Wang [this message]
2012-07-05 12:46 ` [PATCH 1/4] mm/hotplug: correctly setup fallback zonelists when creating new pgdat Cong Wang
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='jt44ls$lq0$2@dough.gmane.org' \
--to=xiyou.wangcong@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.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.