diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-16 14:51:08 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-16 14:51:08 -0400 |
commit | 271ecc5253e2b317d729d366560789cd7f93836c (patch) | |
tree | d3a60bc4dfa8245ff934f357f2367db76b59e7cf /tools | |
parent | aa6865d836418eb2ba888a4cb1318a28e9aa2e0c (diff) | |
parent | 63c06227a22b098a3849c5c99e836aea161ca0d7 (diff) |
Merge branch 'akpm' (patches from Andrew)
Merge first patch-bomb from Andrew Morton:
- some misc things
- ofs2 updates
- about half of MM
- checkpatch updates
- autofs4 update
* emailed patches from Andrew Morton <akpm@linux-foundation.org>: (120 commits)
autofs4: fix string.h include in auto_dev-ioctl.h
autofs4: use pr_xxx() macros directly for logging
autofs4: change log print macros to not insert newline
autofs4: make autofs log prints consistent
autofs4: fix some white space errors
autofs4: fix invalid ioctl return in autofs4_root_ioctl_unlocked()
autofs4: fix coding style line length in autofs4_wait()
autofs4: fix coding style problem in autofs4_get_set_timeout()
autofs4: coding style fixes
autofs: show pipe inode in mount options
kallsyms: add support for relative offsets in kallsyms address table
kallsyms: don't overload absolute symbol type for percpu symbols
x86: kallsyms: disable absolute percpu symbols on !SMP
checkpatch: fix another left brace warning
checkpatch: improve UNSPECIFIED_INT test for bare signed/unsigned uses
checkpatch: warn on bare unsigned or signed declarations without int
checkpatch: exclude asm volatile from complex macro check
mm: memcontrol: drop unnecessary lru locking from mem_cgroup_migrate()
mm: migrate: consolidate mem_cgroup_migrate() calls
mm/compaction: speed up pageblock_pfn_to_page() when zone is contiguous
...
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/builtin-kmem.c | 49 | ||||
-rw-r--r-- | tools/vm/slabinfo.c | 2 |
2 files changed, 30 insertions, 21 deletions
diff --git a/tools/perf/builtin-kmem.c b/tools/perf/builtin-kmem.c index 4d3340cce9a0..c9cb3be47cff 100644 --- a/tools/perf/builtin-kmem.c +++ b/tools/perf/builtin-kmem.c | |||
@@ -602,7 +602,7 @@ static int gfpcmp(const void *a, const void *b) | |||
602 | return fa->flags - fb->flags; | 602 | return fa->flags - fb->flags; |
603 | } | 603 | } |
604 | 604 | ||
605 | /* see include/trace/events/gfpflags.h */ | 605 | /* see include/trace/events/mmflags.h */ |
606 | static const struct { | 606 | static const struct { |
607 | const char *original; | 607 | const char *original; |
608 | const char *compact; | 608 | const char *compact; |
@@ -612,30 +612,39 @@ static const struct { | |||
612 | { "GFP_HIGHUSER", "HU" }, | 612 | { "GFP_HIGHUSER", "HU" }, |
613 | { "GFP_USER", "U" }, | 613 | { "GFP_USER", "U" }, |
614 | { "GFP_TEMPORARY", "TMP" }, | 614 | { "GFP_TEMPORARY", "TMP" }, |
615 | { "GFP_KERNEL_ACCOUNT", "KAC" }, | ||
615 | { "GFP_KERNEL", "K" }, | 616 | { "GFP_KERNEL", "K" }, |
616 | { "GFP_NOFS", "NF" }, | 617 | { "GFP_NOFS", "NF" }, |
617 | { "GFP_ATOMIC", "A" }, | 618 | { "GFP_ATOMIC", "A" }, |
618 | { "GFP_NOIO", "NI" }, | 619 | { "GFP_NOIO", "NI" }, |
619 | { "GFP_HIGH", "H" }, | ||
620 | { "GFP_WAIT", "W" }, | ||
621 | { "GFP_IO", "I" }, | ||
622 | { "GFP_COLD", "CO" }, | ||
623 | { "GFP_NOWARN", "NWR" }, | ||
624 | { "GFP_REPEAT", "R" }, | ||
625 | { "GFP_NOFAIL", "NF" }, | ||
626 | { "GFP_NORETRY", "NR" }, | ||
627 | { "GFP_COMP", "C" }, | ||
628 | { "GFP_ZERO", "Z" }, | ||
629 | { "GFP_NOMEMALLOC", "NMA" }, | ||
630 | { "GFP_MEMALLOC", "MA" }, | ||
631 | { "GFP_HARDWALL", "HW" }, | ||
632 | { "GFP_THISNODE", "TN" }, | ||
633 | { "GFP_RECLAIMABLE", "RC" }, | ||
634 | { "GFP_MOVABLE", "M" }, | ||
635 | { "GFP_NOTRACK", "NT" }, | ||
636 | { "GFP_NO_KSWAPD", "NK" }, | ||
637 | { "GFP_OTHER_NODE", "ON" }, | ||
638 | { "GFP_NOWAIT", "NW" }, | 620 | { "GFP_NOWAIT", "NW" }, |
621 | { "GFP_DMA", "D" }, | ||
622 | { "__GFP_HIGHMEM", "HM" }, | ||
623 | { "GFP_DMA32", "D32" }, | ||
624 | { "__GFP_HIGH", "H" }, | ||
625 | { "__GFP_ATOMIC", "_A" }, | ||
626 | { "__GFP_IO", "I" }, | ||
627 | { "__GFP_FS", "F" }, | ||
628 | { "__GFP_COLD", "CO" }, | ||
629 | { "__GFP_NOWARN", "NWR" }, | ||
630 | { "__GFP_REPEAT", "R" }, | ||
631 | { "__GFP_NOFAIL", "NF" }, | ||
632 | { "__GFP_NORETRY", "NR" }, | ||
633 | { "__GFP_COMP", "C" }, | ||
634 | { "__GFP_ZERO", "Z" }, | ||
635 | { "__GFP_NOMEMALLOC", "NMA" }, | ||
636 | { "__GFP_MEMALLOC", "MA" }, | ||
637 | { "__GFP_HARDWALL", "HW" }, | ||
638 | { "__GFP_THISNODE", "TN" }, | ||
639 | { "__GFP_RECLAIMABLE", "RC" }, | ||
640 | { "__GFP_MOVABLE", "M" }, | ||
641 | { "__GFP_ACCOUNT", "AC" }, | ||
642 | { "__GFP_NOTRACK", "NT" }, | ||
643 | { "__GFP_WRITE", "WR" }, | ||
644 | { "__GFP_RECLAIM", "R" }, | ||
645 | { "__GFP_DIRECT_RECLAIM", "DR" }, | ||
646 | { "__GFP_KSWAPD_RECLAIM", "KR" }, | ||
647 | { "__GFP_OTHER_NODE", "ON" }, | ||
639 | }; | 648 | }; |
640 | 649 | ||
641 | static size_t max_gfp_len; | 650 | static size_t max_gfp_len; |
diff --git a/tools/vm/slabinfo.c b/tools/vm/slabinfo.c index 86e698d07e20..1889163f2f05 100644 --- a/tools/vm/slabinfo.c +++ b/tools/vm/slabinfo.c | |||
@@ -135,7 +135,7 @@ static void usage(void) | |||
135 | "\nValid debug options (FZPUT may be combined)\n" | 135 | "\nValid debug options (FZPUT may be combined)\n" |
136 | "a / A Switch on all debug options (=FZUP)\n" | 136 | "a / A Switch on all debug options (=FZUP)\n" |
137 | "- Switch off all debug options\n" | 137 | "- Switch off all debug options\n" |
138 | "f / F Sanity Checks (SLAB_DEBUG_FREE)\n" | 138 | "f / F Sanity Checks (SLAB_CONSISTENCY_CHECKS)\n" |
139 | "z / Z Redzoning\n" | 139 | "z / Z Redzoning\n" |
140 | "p / P Poisoning\n" | 140 | "p / P Poisoning\n" |
141 | "u / U Tracking\n" | 141 | "u / U Tracking\n" |