diff options
Diffstat (limited to 'include/linux/mmzone.h')
-rw-r--r-- | include/linux/mmzone.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index a01a103341bd..bc209d8b7b5c 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h | |||
@@ -306,6 +306,7 @@ struct zone { | |||
306 | * free areas of different sizes | 306 | * free areas of different sizes |
307 | */ | 307 | */ |
308 | spinlock_t lock; | 308 | spinlock_t lock; |
309 | int all_unreclaimable; /* All pages pinned */ | ||
309 | #ifdef CONFIG_MEMORY_HOTPLUG | 310 | #ifdef CONFIG_MEMORY_HOTPLUG |
310 | /* see spanned/present_pages for more description */ | 311 | /* see spanned/present_pages for more description */ |
311 | seqlock_t span_seqlock; | 312 | seqlock_t span_seqlock; |
@@ -417,7 +418,6 @@ struct zone { | |||
417 | } ____cacheline_internodealigned_in_smp; | 418 | } ____cacheline_internodealigned_in_smp; |
418 | 419 | ||
419 | typedef enum { | 420 | typedef enum { |
420 | ZONE_ALL_UNRECLAIMABLE, /* all pages pinned */ | ||
421 | ZONE_RECLAIM_LOCKED, /* prevents concurrent reclaim */ | 421 | ZONE_RECLAIM_LOCKED, /* prevents concurrent reclaim */ |
422 | ZONE_OOM_LOCKED, /* zone is in OOM killer zonelist */ | 422 | ZONE_OOM_LOCKED, /* zone is in OOM killer zonelist */ |
423 | } zone_flags_t; | 423 | } zone_flags_t; |
@@ -437,11 +437,6 @@ static inline void zone_clear_flag(struct zone *zone, zone_flags_t flag) | |||
437 | clear_bit(flag, &zone->flags); | 437 | clear_bit(flag, &zone->flags); |
438 | } | 438 | } |
439 | 439 | ||
440 | static inline int zone_is_all_unreclaimable(const struct zone *zone) | ||
441 | { | ||
442 | return test_bit(ZONE_ALL_UNRECLAIMABLE, &zone->flags); | ||
443 | } | ||
444 | |||
445 | static inline int zone_is_reclaim_locked(const struct zone *zone) | 440 | static inline int zone_is_reclaim_locked(const struct zone *zone) |
446 | { | 441 | { |
447 | return test_bit(ZONE_RECLAIM_LOCKED, &zone->flags); | 442 | return test_bit(ZONE_RECLAIM_LOCKED, &zone->flags); |