From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx207.postini.com [74.125.245.207]) by kanga.kvack.org (Postfix) with SMTP id 8B9D96B005D for ; Tue, 4 Sep 2012 09:26:41 -0400 (EDT) Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M9T00M5IUOED6Q0@mailout2.samsung.com> for linux-mm@kvack.org; Tue, 04 Sep 2012 22:26:39 +0900 (KST) Received: from mcdsrvbld02.digital.local ([106.116.37.23]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0M9T000YZUO4IJ50@mmp2.samsung.com> for linux-mm@kvack.org; Tue, 04 Sep 2012 22:26:39 +0900 (KST) From: Bartlomiej Zolnierkiewicz Subject: [PATCH v3 0/5] cma: fix watermark checking Date: Tue, 04 Sep 2012 15:26:20 +0200 Message-id: <1346765185-30977-1-git-send-email-b.zolnierkie@samsung.com> Sender: owner-linux-mm@kvack.org List-ID: To: linux-mm@kvack.org Cc: m.szyprowski@samsung.com, mina86@mina86.com, minchan@kernel.org, mgorman@suse.de, hughd@google.com, kyungmin.park@samsung.com, 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"). v2: - no need to call get_pageblock_migratetype() in free_one_page() in patch #1 (thanks to review from Michal Nazarewicz) - fix issues pointed in http://www.spinics.net/lists/linux-mm/msg41017.html in patch #2 (ditto) - remove no longer needed is_cma_pageblock() from patch #2 v3: - fix tracing in free_pcppages_bulk() - fix counting of free CMA pages (broken by v2) Bartlomiej Zolnierkiewicz (4): mm: fix tracing in free_pcppages_bulk() 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 | 3 +- mm/compaction.c | 11 ++++---- mm/page_alloc.c | 77 +++++++++++++++++++++++++++++++++++++++----------- mm/page_isolation.c | 20 +++++++++++-- mm/vmscan.c | 4 +-- mm/vmstat.c | 1 + 6 files changed, 89 insertions(+), 27 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: email@kvack.org