diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-11-23 03:04:05 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-11-23 03:04:05 -0500 |
commit | 92907cbbef8625bb3998d1eb385fc88f23c97a3f (patch) | |
tree | 15626ff9287e37c3cb81c7286d6db5a7fd77c854 /include/linux/vmstat.h | |
parent | 15fbfccfe92c62ae8d1ecc647c44157ed01ac02e (diff) | |
parent | 1ec218373b8ebda821aec00bb156a9c94fad9cd4 (diff) |
Merge tag 'v4.4-rc2' into drm-intel-next-queued
Linux 4.4-rc2
Backmerge to get at
commit 1b0e3a049efe471c399674fd954500ce97438d30
Author: Imre Deak <imre.deak@intel.com>
Date: Thu Nov 5 23:04:11 2015 +0200
drm/i915/skl: disable display side power well support for now
so that we can proplery re-eanble skl power wells in -next.
Conflicts are just adjacent lines changed, except for intel_fbdev.c
where we need to interleave the changs. Nothing nefarious.
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'include/linux/vmstat.h')
-rw-r--r-- | include/linux/vmstat.h | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/include/linux/vmstat.h b/include/linux/vmstat.h index 82e7db7f7100..5dbc8b0ee567 100644 --- a/include/linux/vmstat.h +++ b/include/linux/vmstat.h | |||
@@ -161,30 +161,8 @@ static inline unsigned long zone_page_state_snapshot(struct zone *zone, | |||
161 | } | 161 | } |
162 | 162 | ||
163 | #ifdef CONFIG_NUMA | 163 | #ifdef CONFIG_NUMA |
164 | /* | ||
165 | * Determine the per node value of a stat item. This function | ||
166 | * is called frequently in a NUMA machine, so try to be as | ||
167 | * frugal as possible. | ||
168 | */ | ||
169 | static inline unsigned long node_page_state(int node, | ||
170 | enum zone_stat_item item) | ||
171 | { | ||
172 | struct zone *zones = NODE_DATA(node)->node_zones; | ||
173 | |||
174 | return | ||
175 | #ifdef CONFIG_ZONE_DMA | ||
176 | zone_page_state(&zones[ZONE_DMA], item) + | ||
177 | #endif | ||
178 | #ifdef CONFIG_ZONE_DMA32 | ||
179 | zone_page_state(&zones[ZONE_DMA32], item) + | ||
180 | #endif | ||
181 | #ifdef CONFIG_HIGHMEM | ||
182 | zone_page_state(&zones[ZONE_HIGHMEM], item) + | ||
183 | #endif | ||
184 | zone_page_state(&zones[ZONE_NORMAL], item) + | ||
185 | zone_page_state(&zones[ZONE_MOVABLE], item); | ||
186 | } | ||
187 | 164 | ||
165 | extern unsigned long node_page_state(int node, enum zone_stat_item item); | ||
188 | extern void zone_statistics(struct zone *, struct zone *, gfp_t gfp); | 166 | extern void zone_statistics(struct zone *, struct zone *, gfp_t gfp); |
189 | 167 | ||
190 | #else | 168 | #else |
@@ -269,7 +247,6 @@ static inline void __dec_zone_page_state(struct page *page, | |||
269 | 247 | ||
270 | #define set_pgdat_percpu_threshold(pgdat, callback) { } | 248 | #define set_pgdat_percpu_threshold(pgdat, callback) { } |
271 | 249 | ||
272 | static inline void refresh_cpu_vm_stats(int cpu) { } | ||
273 | static inline void refresh_zone_stat_thresholds(void) { } | 250 | static inline void refresh_zone_stat_thresholds(void) { } |
274 | static inline void cpu_vm_stats_fold(int cpu) { } | 251 | static inline void cpu_vm_stats_fold(int cpu) { } |
275 | 252 | ||