On 12/06/2016 09:19 AM, Kirill A. Shutemov wrote: >>> > > We have in /proc/meminfo >>> > > >>> > > Hugepagesize: 2048 kB >>> > > >>> > > Does it makes it easy for application to find THP page size also there ? >> > >> > Nope. That's the default hugetlbfs page size. Even on x86, that can be >> > changed and _could_ be 1G. If hugetlbfs is configured out, you also >> > won't get this in meminfo. > I think Aneesh propose to add one more line into the file. Ahhh, ok... Personally, I think Hugh did the right things. There's no reason to waste cycles sticking a number in meminfo that never changes. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>