diff options
Diffstat (limited to 'Documentation/vm')
-rw-r--r-- | Documentation/vm/page-types.c | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/Documentation/vm/page-types.c b/Documentation/vm/page-types.c index 8c28be6a47cb..19ca23c773a6 100644 --- a/Documentation/vm/page-types.c +++ b/Documentation/vm/page-types.c | |||
@@ -673,35 +673,35 @@ static void usage(void) | |||
673 | 673 | ||
674 | printf( | 674 | printf( |
675 | "page-types [options]\n" | 675 | "page-types [options]\n" |
676 | " -r|--raw Raw mode, for kernel developers\n" | 676 | " -r|--raw Raw mode, for kernel developers\n" |
677 | " -d|--describe flags Describe flags\n" | 677 | " -d|--describe flags Describe flags\n" |
678 | " -a|--addr addr-spec Walk a range of pages\n" | 678 | " -a|--addr addr-spec Walk a range of pages\n" |
679 | " -b|--bits bits-spec Walk pages with specified bits\n" | 679 | " -b|--bits bits-spec Walk pages with specified bits\n" |
680 | " -p|--pid pid Walk process address space\n" | 680 | " -p|--pid pid Walk process address space\n" |
681 | #if 0 /* planned features */ | 681 | #if 0 /* planned features */ |
682 | " -f|--file filename Walk file address space\n" | 682 | " -f|--file filename Walk file address space\n" |
683 | #endif | 683 | #endif |
684 | " -l|--list Show page details in ranges\n" | 684 | " -l|--list Show page details in ranges\n" |
685 | " -L|--list-each Show page details one by one\n" | 685 | " -L|--list-each Show page details one by one\n" |
686 | " -N|--no-summary Don't show summay info\n" | 686 | " -N|--no-summary Don't show summay info\n" |
687 | " -X|--hwpoison hwpoison pages\n" | 687 | " -X|--hwpoison hwpoison pages\n" |
688 | " -x|--unpoison unpoison pages\n" | 688 | " -x|--unpoison unpoison pages\n" |
689 | " -h|--help Show this usage message\n" | 689 | " -h|--help Show this usage message\n" |
690 | "flags:\n" | 690 | "flags:\n" |
691 | " 0x10 bitfield format, e.g.\n" | 691 | " 0x10 bitfield format, e.g.\n" |
692 | " anon bit-name, e.g.\n" | 692 | " anon bit-name, e.g.\n" |
693 | " 0x10,anon comma-separated list, e.g.\n" | 693 | " 0x10,anon comma-separated list, e.g.\n" |
694 | "addr-spec:\n" | 694 | "addr-spec:\n" |
695 | " N one page at offset N (unit: pages)\n" | 695 | " N one page at offset N (unit: pages)\n" |
696 | " N+M pages range from N to N+M-1\n" | 696 | " N+M pages range from N to N+M-1\n" |
697 | " N,M pages range from N to M-1\n" | 697 | " N,M pages range from N to M-1\n" |
698 | " N, pages range from N to end\n" | 698 | " N, pages range from N to end\n" |
699 | " ,M pages range from 0 to M-1\n" | 699 | " ,M pages range from 0 to M-1\n" |
700 | "bits-spec:\n" | 700 | "bits-spec:\n" |
701 | " bit1,bit2 (flags & (bit1|bit2)) != 0\n" | 701 | " bit1,bit2 (flags & (bit1|bit2)) != 0\n" |
702 | " bit1,bit2=bit1 (flags & (bit1|bit2)) == bit1\n" | 702 | " bit1,bit2=bit1 (flags & (bit1|bit2)) == bit1\n" |
703 | " bit1,~bit2 (flags & (bit1|bit2)) == bit1\n" | 703 | " bit1,~bit2 (flags & (bit1|bit2)) == bit1\n" |
704 | " =bit1,bit2 flags == (bit1|bit2)\n" | 704 | " =bit1,bit2 flags == (bit1|bit2)\n" |
705 | "bit-names:\n" | 705 | "bit-names:\n" |
706 | ); | 706 | ); |
707 | 707 | ||