diff options
author | Alex Chiang <achiang@hp.com> | 2009-12-14 17:57:52 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-15 08:53:11 -0800 |
commit | dcfe730c60030fb76e2794a8960c6bd84c6c6163 (patch) | |
tree | b15402daa7b91950bd514322e6da677704231766 /firmware/cis | |
parent | f1327bf18c8737aeb85226f02f102dfa065fddde (diff) | |
download | op-kernel-dev-dcfe730c60030fb76e2794a8960c6bd84c6c6163.zip op-kernel-dev-dcfe730c60030fb76e2794a8960c6bd84c6c6163.tar.gz |
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>
Diffstat (limited to 'firmware/cis')
0 files changed, 0 insertions, 0 deletions