-
- Downloads
cma: count free CMA pages
Add NR_FREE_CMA_PAGES counter to be later used for checking watermark in __zone_watermark_ok(). For simplicity and to avoid #ifdef hell make this counter always available (not only when CONFIG_CMA=y). [akpm@linux-foundation.org: use conventional migratetype naming] Signed-off-by:Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> Cc: Marek Szyprowski <m.szyprowski@samsung.com> Cc: Michal Nazarewicz <mina86@mina86.com> Cc: Minchan Kim <minchan@kernel.org> Cc: Mel Gorman <mgorman@suse.de> Cc: Hugh Dickins <hughd@google.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- include/linux/mmzone.h 1 addition, 0 deletionsinclude/linux/mmzone.h
- include/linux/vmstat.h 8 additions, 0 deletionsinclude/linux/vmstat.h
- mm/page_alloc.c 19 additions, 7 deletionsmm/page_alloc.c
- mm/page_isolation.c 3 additions, 2 deletionsmm/page_isolation.c
- mm/vmstat.c 1 addition, 0 deletionsmm/vmstat.c
Loading
Please register or sign in to comment