linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Michal Hocko <mhocko@kernel.org>
To: Sharath Kumar Bhat <sharath.k.bhat@linux.intel.com>
Cc: linux-mm@kvack.org, akpm@linux-foundation.org
Subject: Re: [PATCH] mm: fix movable_node kernel command-line
Date: Mon, 23 Oct 2017 14:52:13 +0200	[thread overview]
Message-ID: <20171023125213.whdiev6bjxr72gow@dhcp22.suse.cz> (raw)
In-Reply-To: <ad310dfbfb86ef4f1f9a173cad1a030e879d572e.1508536900.git.sharath.k.bhat@linux.intel.com>

On Fri 20-10-17 16:32:09, Sharath Kumar Bhat wrote:
> Currently when booted with the 'movable_node' kernel command-line the user
> can not have both the functionality of 'movable_node' and at the same time
> specify more movable memory than the total size of hotpluggable memories.
> 
> This is a problem because it limits the total amount of movable memory in
> the system to the total size of hotpluggable memories and in a system the
> total size of hotpluggable memories can be very small or all hotpluggable
> memories could have been offlined. The 'movable_node' parameter was aimed
> to provide the entire memory of hotpluggable NUMA nodes to applications
> without any kernel allocations in them. The 'movable_node' option will be
> useful if those hotpluggable nodes have special memory like MCDRAM as in
> KNL which is a high bandwidth memory and the user would like to use all of
> it for applications. But in doing so the 'movable_node' command-line poses
> this limitation and does not allow the user to specify more movable memory
> in addition to the hotpluggable memories.
> 
> With this change the existing 'movablecore=' and 'kernelcore=' command-line
> parameters can be specified in addition to the 'movable_node' kernel
> parameter. This allows the user to boot the kernel with an increased amount
> of movable memory in the system and still have only movable memory in
> hotpluggable NUMA nodes.

I really detest making the already cluttered kernelcore* handling even
more so. Why cannot your MCDRAM simply announce itself as hotplugable?
Also it is not really clear to me how can you control that only your
specific memory type gets into movable zone.
-- 
Michal Hocko
SUSE Labs

--
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>

  reply	other threads:[~2017-10-23 12:52 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-20 23:32 Sharath Kumar Bhat
2017-10-23 12:52 ` Michal Hocko [this message]
2017-10-23 16:03   ` Sharath Kumar Bhat
2017-10-23 16:15     ` Michal Hocko
2017-10-23 17:14       ` Sharath Kumar Bhat
2017-10-23 17:20         ` Michal Hocko
2017-10-23 17:35           ` Sharath Kumar Bhat
2017-10-23 17:49             ` Michal Hocko
2017-10-23 18:48               ` Sharath Kumar Bhat
2017-10-23 19:04                 ` Michal Hocko
2017-10-23 19:25                   ` Sharath Kumar Bhat
2017-10-23 19:35                     ` Michal Hocko
2017-10-23 19:56                       ` Sharath Kumar Bhat
2017-10-23 21:52                         ` Dave Hansen
2017-10-24  1:06                           ` Sharath Kumar Bhat
2017-10-24  7:19                             ` Michal Hocko
2017-10-25  0:53                               ` Sharath Kumar Bhat
2017-10-25  6:38                                 ` Michal Hocko
2017-10-25 22:01                                   ` Sharath Kumar Bhat
2017-10-26  7:36                                     ` Michal Hocko

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=20171023125213.whdiev6bjxr72gow@dhcp22.suse.cz \
    --to=mhocko@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-mm@kvack.org \
    --cc=sharath.k.bhat@linux.intel.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