• Wu Fengguang's avatar
    pagemap: add page-types tool · 35efa5e9
    Wu Fengguang authored
    Add page-types, a handy tool for querying page flags.
    
    It will expand some of the overloaded flags:
    	PG_slob_free   = PG_private
    	PG_slub_frozen = PG_active
    	PG_slub_debug  = PG_error
    	PG_readahead   = PG_reclaim
    
    and mask out obscure flags except in -raw mode:
    	PG_reserved
    	PG_mlocked
    	PG_mappedtodisk
    	PG_private
    	PG_private_2
    	PG_owner_priv_1
    	PG_arch_1
    	PG_uncached
    	PG_compound* for non hugeTLB pages
    
    [akpm@linux-foundation.org: fix warning]
    Signed-off-by: default avatarWu Fengguang <fengguang.wu@intel.com>
    Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Matt Mackall <mpm@selenic.com>
    Cc: Alexey Dobriyan <adobriyan@gmail.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    35efa5e9
Makefile 233 Bytes