diff options
Diffstat (limited to '')
-rw-r--r-- | include/linux/mmzone.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index c11b7cde81..a4f6f1fecc 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -651,13 +651,12 @@ enum zone_watermarks { }; /* - * One per migratetype for each PAGE_ALLOC_COSTLY_ORDER. One additional list - * for THP which will usually be GFP_MOVABLE. Even if it is another type, - * it should not contribute to serious fragmentation causing THP allocation - * failures. + * One per migratetype for each PAGE_ALLOC_COSTLY_ORDER. Two additional lists + * are added for THP. One PCP list is used by GPF_MOVABLE, and the other PCP list + * is used by GFP_UNMOVABLE and GFP_RECLAIMABLE. */ #ifdef CONFIG_TRANSPARENT_HUGEPAGE -#define NR_PCP_THP 1 +#define NR_PCP_THP 2 #else #define NR_PCP_THP 0 #endif |