diff --git a/include/linux/gfp.h b/include/linux/gfp.h index c603237e006ceb5e7a6d6c8b06d3d4c52038566a..166bccc4f9ee6c96fb43077e7b995b891c077036 100644 --- a/include/linux/gfp.h +++ b/include/linux/gfp.h @@ -323,6 +323,7 @@ static inline int gfp_migratetype(const gfp_t gfp_flags) if (unlikely(page_group_by_mobility_disabled)) return MIGRATE_UNMOVABLE; + /* Group based on mobility */ return (gfp_flags & GFP_MOVABLE_MASK) >> GFP_MOVABLE_SHIFT; } diff --git a/include/linux/highmem.h b/include/linux/highmem.h index 14e6202ce47f1395b61a45dc2d7455723dfdc0aa..d6e39fc5de0d3c377316c46b68cf2abac9260585 100644 --- a/include/linux/highmem.h +++ b/include/linux/highmem.h @@ -11,6 +11,7 @@ #include + #ifndef ARCH_HAS_FLUSH_ANON_PAGE static inline void flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vmaddr) { diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index 63b550403317a44c9120bce08950ccc153f76bac..222a858ea3a4c98f2a41fa422bf157e7fcae0b05 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -5,6 +5,7 @@ #ifndef __ASSEMBLY__ #ifndef __GENERATING_BOUNDS_H + #include #include #include diff --git a/mm/Kconfig b/mm/Kconfig index 9d606d258ab42cdf4ff00e6bc6831acba3e6cd78..8a848837ae3b250d05a79a91a9cb6b541cbbd129 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -524,7 +524,7 @@ config CMA_AREAS help CMA allows to create CMA areas for particular purpose, mainly, used as device private area. This parameter sets the maximum - number of CMA area in the system. + number of CMA area in the system . If unsure, leave the default value "7" in UMA and "19" in NUMA. diff --git a/mm/compaction.c b/mm/compaction.c index dba424447473d5f92c6eb7e77db6e8b58f66a7f1..1d05435ffdfba5daf1208c02edfae74daecd45af 100644 --- a/mm/compaction.c +++ b/mm/compaction.c @@ -25,6 +25,7 @@ #include #include "internal.h" + #ifdef CONFIG_COMPACTION static inline void count_compact_event(enum vm_event_item item) { diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 6d189b69a9e10de1c22053a62ee12fea51496e5d..4f2443821b2fd0f2652e0a41747166e4c1f25aeb 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -78,6 +78,7 @@ #include "shuffle.h" #include "page_reporting.h" + /* Free Page Internal flags: for internal, non-pcp variants of free_pages(). */ typedef int __bitwise fpi_t;