On Wed, 5 Oct 2011, Eric Dumazet wrote: > > How does it break old scripts? > > > > Old scripts just parse numa_maps, and on typical machines where > hugepages are not used, they dont have to care about page size. > They assume pages are 4KB. > > Adding a new word (pagesize=...) might break them, but personally I dont > care. > If your script is only parsing numa_maps, then Dave's effort is actually allowing them to be fixed rather than breaking them. We could silently continue to export the page counts without specifying the size (hugetlb pages are counted in their true hugepage size, THP pages are counted in PAGE_SIZE units), but then a script would always be broken unless they use smaps as well. Dave's addition of pagesize allows numa_maps to stand on its own and actually be useful when hugepages are used. -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>