linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
To: Luiz Capitulino <lcapitulino@redhat.com>
Cc: "linux-mm@kvack.org" <linux-mm@kvack.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"akpm@linux-foundation.org" <akpm@linux-foundation.org>,
	"andi@firstfloor.org" <andi@firstfloor.org>,
	"rientjes@google.com" <rientjes@google.com>,
	"riel@redhat.com" <riel@redhat.com>,
	"isimatu.yasuaki@jp.fujitsu.com" <isimatu.yasuaki@jp.fujitsu.com>,
	"yinghai@kernel.org" <yinghai@kernel.org>,
	"davidlohr@hp.com" <davidlohr@hp.com>
Subject: Re: [PATCH 1/3] hugetlb: fix hugepages= entry in kernel-parameters.txt
Date: Mon, 17 Nov 2014 00:11:17 +0000	[thread overview]
Message-ID: <20141117001154.GA4667@hori1.linux.bs1.fc.nec.co.jp> (raw)
In-Reply-To: <1415831593-9020-2-git-send-email-lcapitulino@redhat.com>

On Wed, Nov 12, 2014 at 05:33:11PM -0500, Luiz Capitulino wrote:
> The hugepages= entry in kernel-parameters.txt states that
> 1GB pages can only be allocated at boot time and not
> freed afterwards. This is not true since commit
> 944d9fec8d7aee, at least for x86_64.
> 
> Instead of adding arch-specifc observations to the
> hugepages= entry, this commit just drops the out of date
> information. Further information about arch-specific
> support and available features can be obtained in the
> hugetlb documentation.
> 
> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>

Acked-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>

> ---
>  Documentation/kernel-parameters.txt | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
> index 479f332..d919af0 100644
> --- a/Documentation/kernel-parameters.txt
> +++ b/Documentation/kernel-parameters.txt
> @@ -1228,9 +1228,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
>  			multiple times interleaved with hugepages= to reserve
>  			huge pages of different sizes. Valid pages sizes on
>  			x86-64 are 2M (when the CPU supports "pse") and 1G
> -			(when the CPU supports the "pdpe1gb" cpuinfo flag)
> -			Note that 1GB pages can only be allocated at boot time
> -			using hugepages= and not freed afterwards.
> +			(when the CPU supports the "pdpe1gb" cpuinfo flag).
>  
>  	hvc_iucv=	[S390] Number of z/VM IUCV hypervisor console (HVC)
>  			       terminal devices. Valid values: 0..8
> -- 
> 1.9.3
> 
> --
> 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>
--
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:[~2014-11-17  0:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-12 22:33 [PATCH 0/3] hugetlb: misc small fixes/improvements Luiz Capitulino
2014-11-12 22:33 ` [PATCH 1/3] hugetlb: fix hugepages= entry in kernel-parameters.txt Luiz Capitulino
2014-11-17  0:11   ` Naoya Horiguchi [this message]
2014-11-19 22:39   ` David Rientjes
2014-11-12 22:33 ` [PATCH 2/3] hugetlb: alloc_bootmem_huge_page(): use IS_ALIGNED() Luiz Capitulino
2014-11-17  0:11   ` Naoya Horiguchi
2014-11-19 22:42   ` David Rientjes
2014-11-12 22:33 ` [PATCH 3/3] hugetlb: hugetlb_register_all_nodes(): add __init marker Luiz Capitulino
2014-11-17  0:12   ` Naoya Horiguchi
2014-11-19 22:43   ` 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=20141117001154.GA4667@hori1.linux.bs1.fc.nec.co.jp \
    --to=n-horiguchi@ah.jp.nec.com \
    --cc=akpm@linux-foundation.org \
    --cc=andi@firstfloor.org \
    --cc=davidlohr@hp.com \
    --cc=isimatu.yasuaki@jp.fujitsu.com \
    --cc=lcapitulino@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=riel@redhat.com \
    --cc=rientjes@google.com \
    --cc=yinghai@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox