diff options
| author | Jiri Kosina <jkosina@suse.cz> | 2011-05-18 11:06:31 -0400 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.cz> | 2011-05-18 11:06:49 -0400 |
| commit | 6b7b8e488bbdedeccabdd001a78ffcbe43bb8a3a (patch) | |
| tree | f2f77cc31b4548745778fca6a51b09e1d8a49804 /include/linux/vmstat.h | |
| parent | b50f315cbb865079a16a12fd9ae6083f98fd592c (diff) | |
| parent | c1d10d18c542278b7fbc413c289d3cb6219da6b3 (diff) | |
Merge branch 'master' into upstream.
This is sync with Linus' tree to receive KEY_IMAGES definition
that went in through input tree.
Diffstat (limited to 'include/linux/vmstat.h')
| -rw-r--r-- | include/linux/vmstat.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/linux/vmstat.h b/include/linux/vmstat.h index 833e676d6d92..2b3831b58aa4 100644 --- a/include/linux/vmstat.h +++ b/include/linux/vmstat.h | |||
| @@ -58,6 +58,13 @@ enum vm_event_item { PGPGIN, PGPGOUT, PSWPIN, PSWPOUT, | |||
| 58 | UNEVICTABLE_PGCLEARED, /* on COW, page truncate */ | 58 | UNEVICTABLE_PGCLEARED, /* on COW, page truncate */ |
| 59 | UNEVICTABLE_PGSTRANDED, /* unable to isolate on unlock */ | 59 | UNEVICTABLE_PGSTRANDED, /* unable to isolate on unlock */ |
| 60 | UNEVICTABLE_MLOCKFREED, | 60 | UNEVICTABLE_MLOCKFREED, |
| 61 | #ifdef CONFIG_TRANSPARENT_HUGEPAGE | ||
| 62 | THP_FAULT_ALLOC, | ||
| 63 | THP_FAULT_FALLBACK, | ||
| 64 | THP_COLLAPSE_ALLOC, | ||
| 65 | THP_COLLAPSE_ALLOC_FAILED, | ||
| 66 | THP_SPLIT, | ||
| 67 | #endif | ||
| 61 | NR_VM_EVENT_ITEMS | 68 | NR_VM_EVENT_ITEMS |
| 62 | }; | 69 | }; |
| 63 | 70 | ||
| @@ -220,12 +227,12 @@ static inline unsigned long node_page_state(int node, | |||
| 220 | zone_page_state(&zones[ZONE_MOVABLE], item); | 227 | zone_page_state(&zones[ZONE_MOVABLE], item); |
| 221 | } | 228 | } |
| 222 | 229 | ||
| 223 | extern void zone_statistics(struct zone *, struct zone *); | 230 | extern void zone_statistics(struct zone *, struct zone *, gfp_t gfp); |
| 224 | 231 | ||
| 225 | #else | 232 | #else |
| 226 | 233 | ||
| 227 | #define node_page_state(node, item) global_page_state(item) | 234 | #define node_page_state(node, item) global_page_state(item) |
| 228 | #define zone_statistics(_zl,_z) do { } while (0) | 235 | #define zone_statistics(_zl, _z, gfp) do { } while (0) |
| 229 | 236 | ||
| 230 | #endif /* CONFIG_NUMA */ | 237 | #endif /* CONFIG_NUMA */ |
| 231 | 238 | ||
