Messages in this thread | | | Date | Wed, 14 Aug 2013 16:20:06 -0700 | Subject | Re: [RFC][PATCH] drivers: base: dynamic memory block creation | From | Yinghai Lu <> |
| |
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
| |