From: Yinghai Lu <yinghai@kernel.org> To: Seth Jennings <sjenning@linux.vnet.ibm.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, "H. Peter Anvin" <hpa@zytor.com>, Dave Hansen <dave@sr71.net>, Nathan Fontenot <nfont@linux.vnet.ibm.com>, Cody P Schafer <cody@linux.vnet.ibm.com>, Andrew Morton <akpm@linux-foundation.org>, Lai Jiangshan <laijs@cn.fujitsu.com>, "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Linux MM <linux-mm@kvack.org> Subject: Re: [RFC][PATCH] drivers: base: dynamic memory block creation Date: Wed, 14 Aug 2013 16:20:06 -0700 [thread overview] Message-ID: <CAE9FiQXJ85Nr6F=mn5DgfanwNA2s55=_LyQKbXLrxfTc6yZcAQ@mail.gmail.com> (raw) In-Reply-To: <20130814215253.GC17423@variantweb.net> On Wed, Aug 14, 2013 at 2:52 PM, Seth Jennings <sjenning@linux.vnet.ibm.com> wrote: > On Wed, Aug 14, 2013 at 02:37:26PM -0700, Yinghai Lu wrote: > If I am understanding you correctly, you are suggesting we make the block size > a boot time tunable. It can't be a runtime tunable since the memory blocks are > currently created a boot time. yes. If could make it to be tunable at run-time, could be much better. > > On ppc64, we can't just just choose a memory block size since it must align > with the underlying LMB (logical memory block) size, set in the hardware ahead > of time. assume for x86_64, it now support 46bits physical address. so if we change to 2G, then big system will only need create (1<<15) aka 32k entries in /sys at most. Thanks Yinghai
WARNING: multiple messages have this Message-ID (diff)
From: Yinghai Lu <yinghai@kernel.org> To: Seth Jennings <sjenning@linux.vnet.ibm.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, "H. Peter Anvin" <hpa@zytor.com>, Dave Hansen <dave@sr71.net>, Nathan Fontenot <nfont@linux.vnet.ibm.com>, Cody P Schafer <cody@linux.vnet.ibm.com>, Andrew Morton <akpm@linux-foundation.org>, Lai Jiangshan <laijs@cn.fujitsu.com>, "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Linux MM <linux-mm@kvack.org> Subject: Re: [RFC][PATCH] drivers: base: dynamic memory block creation Date: Wed, 14 Aug 2013 16:20:06 -0700 [thread overview] Message-ID: <CAE9FiQXJ85Nr6F=mn5DgfanwNA2s55=_LyQKbXLrxfTc6yZcAQ@mail.gmail.com> (raw) In-Reply-To: <20130814215253.GC17423@variantweb.net> On Wed, Aug 14, 2013 at 2:52 PM, Seth Jennings <sjenning@linux.vnet.ibm.com> wrote: > On Wed, Aug 14, 2013 at 02:37:26PM -0700, Yinghai Lu wrote: > If I am understanding you correctly, you are suggesting we make the block size > a boot time tunable. It can't be a runtime tunable since the memory blocks are > currently created a boot time. yes. If could make it to be tunable at run-time, could be much better. > > On ppc64, we can't just just choose a memory block size since it must align > with the underlying LMB (logical memory block) size, set in the hardware ahead > of time. assume for x86_64, it now support 46bits physical address. so if we change to 2G, then big system will only need create (1<<15) aka 32k entries in /sys at most. Thanks Yinghai -- 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:[~2013-08-14 23:20 UTC|newest] Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-08-14 19:31 [RFC][PATCH] drivers: base: dynamic memory block creation Seth Jennings 2013-08-14 19:31 ` Seth Jennings 2013-08-14 19:40 ` Greg Kroah-Hartman 2013-08-14 19:40 ` Greg Kroah-Hartman 2013-08-16 19:07 ` Seth Jennings 2013-08-16 19:07 ` Seth Jennings 2013-08-14 19:43 ` Greg Kroah-Hartman 2013-08-14 19:43 ` Greg Kroah-Hartman 2013-08-14 20:05 ` Dave Hansen 2013-08-14 20:05 ` Dave Hansen 2013-08-14 20:35 ` Greg Kroah-Hartman 2013-08-14 20:35 ` Greg Kroah-Hartman 2013-08-14 21:16 ` Seth Jennings 2013-08-14 21:16 ` Seth Jennings 2013-08-14 21:37 ` Yinghai Lu 2013-08-14 21:52 ` Seth Jennings 2013-08-14 21:52 ` Seth Jennings 2013-08-14 23:20 ` Yinghai Lu [this message] 2013-08-14 23:20 ` Yinghai Lu 2013-08-15 2:12 ` Michael Ellerman 2013-08-15 2:12 ` Michael Ellerman 2013-08-15 2:12 ` Michael Ellerman 2013-08-14 20:40 ` Nathan Fontenot 2013-08-14 20:40 ` Nathan Fontenot 2013-08-14 20:47 ` Dave Hansen 2013-08-14 20:47 ` Dave Hansen 2013-08-14 21:14 ` Seth Jennings 2013-08-14 21:14 ` Seth Jennings 2013-08-14 21:36 ` Dave Hansen 2013-08-14 21:36 ` Dave Hansen 2013-08-14 21:37 ` Cody P Schafer 2013-08-14 21:37 ` Cody P Schafer 2013-08-14 21:49 ` Dave Hansen 2013-08-14 21:49 ` Dave Hansen 2013-08-15 0:01 ` Rafael J. Wysocki 2013-08-15 0:01 ` Rafael J. Wysocki 2013-08-16 18:41 ` Seth Jennings 2013-08-16 18:41 ` Seth Jennings
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='CAE9FiQXJ85Nr6F=mn5DgfanwNA2s55=_LyQKbXLrxfTc6yZcAQ@mail.gmail.com' \ --to=yinghai@kernel.org \ --cc=akpm@linux-foundation.org \ --cc=cody@linux.vnet.ibm.com \ --cc=dave@sr71.net \ --cc=gregkh@linuxfoundation.org \ --cc=hpa@zytor.com \ --cc=laijs@cn.fujitsu.com \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-mm@kvack.org \ --cc=nfont@linux.vnet.ibm.com \ --cc=rafael.j.wysocki@intel.com \ --cc=sjenning@linux.vnet.ibm.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: linkBe 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.