On Thu, Feb 04, 2016 at 04:08:02PM +0900, Naoya Horiguchi wrote: > Currently /proc/kpageflags returns just KPF_COMPOUND_TAIL for slab tail pages, > which is inconvenient when grasping how slab pages are distributed (userspace > always needs to check which kind of tail pages by itself). This patch sets > KPF_SLAB for such pages. > > With this patch: > > $ grep Slab /proc/meminfo ; tools/vm/page-types -b slab > Slab: 64880 kB > flags page-count MB symbolic-flags long-symbolic-flags > 0x0000000000000080 16220 63 _______S__________________________________ slab > total 16220 63 > > 16220 pages equals to 64880 kB, so returned result is consistent with the > global counter. > > Signed-off-by: Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx> Reviewed-by: Vladimir Davydov <vdavydov@xxxxxxxxxxxxx> -- 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>