diff options
Diffstat (limited to 'include/linux/mmzone.h')
| -rw-r--r-- | include/linux/mmzone.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index 48bf12ef6620..ffe66e381c04 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h | |||
| @@ -431,6 +431,15 @@ struct zone { | |||
| 431 | */ | 431 | */ |
| 432 | int nr_migrate_reserve_block; | 432 | int nr_migrate_reserve_block; |
| 433 | 433 | ||
| 434 | #ifdef CONFIG_MEMORY_ISOLATION | ||
| 435 | /* | ||
| 436 | * Number of isolated pageblock. It is used to solve incorrect | ||
| 437 | * freepage counting problem due to racy retrieving migratetype | ||
| 438 | * of pageblock. Protected by zone->lock. | ||
| 439 | */ | ||
| 440 | unsigned long nr_isolate_pageblock; | ||
| 441 | #endif | ||
| 442 | |||
| 434 | #ifdef CONFIG_MEMORY_HOTPLUG | 443 | #ifdef CONFIG_MEMORY_HOTPLUG |
| 435 | /* see spanned/present_pages for more description */ | 444 | /* see spanned/present_pages for more description */ |
| 436 | seqlock_t span_seqlock; | 445 | seqlock_t span_seqlock; |
