linux/Documentation/vm
Alex Chiang dcfe730c60 page-types: learn to describe flags directly from command line
Teach page-types to describe page flags directly from the command line.

Why is this useful?  For instance, if you're using memory hotplug and see
this in /var/log/messages:

	kernel: removing from LRU failed 3836dd0/1/1e00000000000010

It would be nice to decode those page flags without staring at the source.

Example usage and output:

# Documentation/vm/page-types -d 0x10
0x0000000000000010	____D_____________________________	dirty

# Documentation/vm/page-types -d anon
0x0000000000001000	____________a_____________________	anonymous

# Documentation/vm/page-types -d anon,0x10
0x0000000000001010	____D_______a_____________________	dirty,anonymous

[achiang@hp.com: documentation]
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Haicheng Li <haicheng.li@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-12-15 08:53:11 -08:00
..
.gitignore Documentation/vm/.gitignore: add page-types 2009-09-24 07:20:57 -07:00
00-INDEX hugetlb: add MAP_HUGETLB example 2009-09-22 07:17:42 -07:00
active_mm.txt mm: add documentation describing what tsk->active_mm means vs tsk->mm 2009-04-13 15:04:32 -07:00
balance page allocator: use allocation flags as an index to the zone watermark 2009-06-16 19:47:35 -07:00
hugetlbpage.txt hugetlb: add MAP_HUGETLB example 2009-09-22 07:17:42 -07:00
hwpoison.txt HWPOISON: Add brief hwpoison description to Documentation 2009-10-04 03:23:26 +02:00
ksm.txt ksm: more on default values 2009-10-08 07:36:38 -07:00
locking truncate: new helpers 2009-09-24 08:41:47 -04:00
Makefile Documentation/vm/Makefile: don't try to build slqbinfo 2009-06-17 09:45:46 -07:00
map_hugetlb.c hugetlb: add MAP_HUGETLB example 2009-09-22 07:17:42 -07:00
numa Documentation: remove duplicated words 2006-10-03 22:57:56 +02:00
numa_memory_policy.txt trivial: fix where cgroup documentation is not correctly referred to 2009-03-30 15:22:02 +02:00
overcommit-accounting Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
page_migration trivial: fix where cgroup documentation is not correctly referred to 2009-03-30 15:22:02 +02:00
page-types.c page-types: learn to describe flags directly from command line 2009-12-15 08:53:11 -08:00
pagemap.txt pagemap: document KPF_KSM and show it in page-types 2009-10-08 07:36:39 -07:00
slabinfo.c Documentation/: fix warnings from -Wmissing-prototypes in HOSTCFLAGS 2009-09-23 07:39:28 -07:00
slub.txt doc: Fix a typo in slub.txt. 2009-12-04 15:39:59 +01:00
unevictable-lru.txt mm: reformat the Unevictable-LRU documentation 2009-04-13 15:04:31 -07:00