All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chao Fan <fanc.fnst@cn.fujitsu.com>
To: Randy Dunlap <rdunlap@infradead.org>
Cc: <linux-kernel@vger.kernel.org>, <x86@kernel.org>, <hpa@zytor.com>,
	<tglx@linutronix.de>, <mingo@redhat.com>, <bhe@redhat.com>,
	<keescook@chromium.org>, <yasu.isimatu@gmail.com>,
	<indou.takao@jp.fujitsu.com>, <caoj.fnst@cn.fujitsu.com>,
	<douly.fnst@cn.fujitsu.com>, <linux-doc@vger.kernel.org>,
	Jonathan Corbet <corbet@lwn.net>
Subject: Re: [PATCH v3 4/4] document: change the document for immovable_mem
Date: Wed, 6 Dec 2017 09:16:07 +0800	[thread overview]
Message-ID: <20171206011607.GC18006@localhost.localdomain> (raw)
In-Reply-To: <03aa7c1c-e0c6-2918-582b-631ffd471001@infradead.org>

On Tue, Dec 05, 2017 at 09:36:24AM -0800, Randy Dunlap wrote:
>On 12/05/2017 12:52 AM, Chao Fan wrote:
>> Add the document for the change of new parameter
>> immovable_mem=nn[KMG]@ss[KMG].
>> 
>> Cc: linux-doc@vger.kernel.org
>> Cc: Jonathan Corbet <corbet@lwn.net>
>> Signed-off-by: Chao Fan <fanc.fnst@cn.fujitsu.com>
>> ---
>>  Documentation/admin-guide/kernel-parameters.txt | 9 +++++++++
>>  1 file changed, 9 insertions(+)
>> 
>> diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
>> index b74e13312fdc..eea755af697f 100644
>> --- a/Documentation/admin-guide/kernel-parameters.txt
>> +++ b/Documentation/admin-guide/kernel-parameters.txt
>> @@ -2355,6 +2355,15 @@
>>  			allocations which rules out almost all kernel
>>  			allocations. Use with caution!
>>  
>> +	immovable_mem=nn[KMG]@ss[KMG]
>
>	immovable_mem=nn[KMG][@ss[KMG]]
>
>> +			[KNL] Force usage of a specific region of memory.
>> +			Make memory hotplug  work well with KASLR.
>
>			                   ^^only one space, please
>
>> +			Region of memory in immovable node is from ss to ss+nn.> +			Multiple regions can be specified, comma delimited.
>			If ss is omitted, it defaults to 0.

Sorry for the mistake. Will change it in next version.

Thanks,
Chao Fan

>> +			Notice: we support 4 regions at most now.
>> +			Example:
>> +			immovable_mem=1G,500M@2G,1G@4G
>> +
>>  	MTD_Partition=	[MTD]
>>  			Format: <name>,<region-number>,<size>,<offset>
>>  
>> 
>
>
>-- 
>~Randy
>
>

      reply	other threads:[~2017-12-06  1:16 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-05  8:51 [PATCH v3 0/4] kaslr: add new parameter immovable_mem=nn[KMG]@ss[KMG] to make memory hotplug work well with kaslr Chao Fan
2017-12-05  8:51 ` [PATCH v3 1/4] kaslr: add immovable_mem=nn[KMG]@ss[KMG] to specify extracting memory Chao Fan
2017-12-05 19:42   ` Kees Cook
2017-12-06  1:13     ` Chao Fan
2017-12-06  9:35   ` Baoquan He
2017-12-07  2:53     ` Chao Fan
2017-12-07  3:09       ` Baoquan He
2017-12-07  3:56         ` Chao Fan
2017-12-07  4:16           ` Dou Liyang
2017-12-07  4:58             ` Baoquan He
2017-12-07  5:31               ` Chao Fan
2017-12-05  8:51 ` [PATCH v3 2/4] kaslr: calculate the memory region in immovable node Chao Fan
2017-12-05 19:40   ` Kees Cook
2017-12-06  9:28     ` Baoquan He
2017-12-06 10:02       ` Chao Fan
2017-12-07  0:11         ` Kees Cook
2017-12-07  1:09           ` Chao Fan
2017-12-05  8:51 ` [PATCH v3 3/4] kaslr: disable memory mirror feature when movable_node specified Chao Fan
2017-12-05  8:52 ` [PATCH v3 4/4] document: change the document for immovable_mem Chao Fan
2017-12-05 17:36   ` Randy Dunlap
2017-12-06  1:16     ` Chao Fan [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=20171206011607.GC18006@localhost.localdomain \
    --to=fanc.fnst@cn.fujitsu.com \
    --cc=bhe@redhat.com \
    --cc=caoj.fnst@cn.fujitsu.com \
    --cc=corbet@lwn.net \
    --cc=douly.fnst@cn.fujitsu.com \
    --cc=hpa@zytor.com \
    --cc=indou.takao@jp.fujitsu.com \
    --cc=keescook@chromium.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=rdunlap@infradead.org \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    --cc=yasu.isimatu@gmail.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 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.