Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1693191

Re: [PATCH] sparc64: Register hugepages during arch init

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] sparc64: Register hugepages during arch init
Date 2017-07-20 21:40 +0200
Message-ID <u5psJ-3ei-15@gated-at.bofh.it> (permalink)
References <u57ma-7KQ-37@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Nitin Gupta <nitin.m.gupta@oracle.com>
Date: Wed, 19 Jul 2017 17:12:54 -0700

> Add hstate for each supported hugepage size using
> arch initcall. This change fixes some hugepage
> parameter parsing inconsistencies:
> 
> case 1: no hugepage parameters
> 
>  Without hugepage parameters, only a hugepages-8192kB entry is visible
>  in sysfs.  It's different from x86_64 where both 2M and 1G hugepage
>  sizes are available.
> 
> case 2: default_hugepagesz=[64K|256M|2G]
> 
>  When specifying only a default_hugepagesz parameter, the default
>  hugepage size isn't really changed and it stays at 8M. This is again
>  different from x86_64.
> 
> Orabug: 25869946
> 
> Reviewed-by: Bob Picco <bob.picco@oracle.com>
> Signed-off-by: Nitin Gupta <nitin.m.gupta@oracle.com>

Applied and queued up for -stable, thanks.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] sparc64: Register hugepages during arch init Nitin Gupta <nitin.m.gupta@oracle.com> - 2017-07-20 02:20 +0200
  Re: [PATCH] sparc64: Register hugepages during arch init David Miller <davem@davemloft.net> - 2017-07-20 21:40 +0200

csiph-web