linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] cma: fix watermark checking
@ 2012-08-24 10:45 Bartlomiej Zolnierkiewicz
  2012-08-24 10:45 ` [PATCH 1/4] cma: fix counting of isolated pages Bartlomiej Zolnierkiewicz
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2012-08-24 10:45 UTC (permalink / raw)
  To: linux-mm
  Cc: m.szyprowski, mina86, minchan, mgorman, kyungmin.park,
	Bartlomiej Zolnierkiewicz

Free pages belonging to Contiguous Memory Allocator (CMA) areas cannot be
used by unmovable allocations and this fact should be accounted for while
doing zone watermark checking.  Additionaly while CMA pages are isolated
they shouldn't be included in the total number of free pages (as they
cannot be allocated while they are isolated).  The following patch series
should fix both issues.  It is based on top of recent Minchan's CMA series
(https://lkml.org/lkml/2012/8/14/81 "[RFC 0/2] Reduce alloc_contig_range
latency").


Bartlomiej Zolnierkiewicz (3):
  cma: fix counting of isolated pages
  cma: count free CMA pages
  cma: fix watermark checking

Marek Szyprowski (1):
  mm: add accounting for CMA pages and use them for watermark
    calculation

 include/linux/mmzone.h |  5 +++-
 mm/compaction.c        | 11 ++++----
 mm/page_alloc.c        | 73 ++++++++++++++++++++++++++++++++++++++++----------
 mm/page_isolation.c    | 20 +++++++++++---
 mm/vmscan.c            |  4 +--
 mm/vmstat.c            |  1 +
 6 files changed, 89 insertions(+), 25 deletions(-)

-- 
1.7.11.3

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-08-24 16:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-24 10:45 [PATCH 0/4] cma: fix watermark checking Bartlomiej Zolnierkiewicz
2012-08-24 10:45 ` [PATCH 1/4] cma: fix counting of isolated pages Bartlomiej Zolnierkiewicz
2012-08-24 16:26   ` Michal Nazarewicz
2012-08-24 10:45 ` [PATCH 2/4] cma: count free CMA pages Bartlomiej Zolnierkiewicz
2012-08-24 16:42   ` Michal Nazarewicz
2012-08-24 10:45 ` [PATCH 3/4] mm: add accounting for CMA pages and use them for watermark calculation Bartlomiej Zolnierkiewicz
2012-08-24 10:45 ` [PATCH 4/4] cma: fix watermark checking Bartlomiej Zolnierkiewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox