On Fri, 20 May 2011 14:25:23 -0500 Timur Tabi <ti...@freescale.com> wrote:
> Kumar Gala wrote: > >> > This may be unnecessary. I originally set CONFIG_FORCE_MAX_ZONEORDER > >> > to 12 because the DIU driver needs to be able to allocate a contiguous > >> > 5MB memory block. Setting it to 13 means a max of 16MB. Is there a > >> > reason the default isn't good enough? > > > Is there some concern here? CONFIG_FORCE_MAX_ZONE_ORDER was set to 13 > > because of hugetlbfs > > No, I just wanted to make sure it wasn't something that you just set for no > particular reason. > > Hmm... is 16MB big enough for hugetlbfs? I presume PAGE_SIZE is still 4KB, > so a > value of 13 is just 16MB. I think there's a separate mechanism for reserving hugetlbfs space at boot time. 16 MiB should be enough for fully dynamic allocations, and if you push it too high fragmentation will likely be too much of a problem. -Scott _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev