1/3

tools/mm/thpmaps: fix partial THP anon/file accounting

[tools/mm/thpmaps: fix partial THP anon/file accounting] thp_parse() reduces index_end before looking up the type of the trailing partially mapped THP. The lookup then uses the preceding page, or anon