From b99ebebc62ddf9d70b92eec080df08c6ea6aa173 Mon Sep 17 00:00:00 2001 From: tao zeng Date: Thu, 2 Nov 2017 11:15:57 +0800 Subject: [PATCH] mm: close debug print of cma alloc PD#153120: mm: close debug print of cma alloc These print message may print a lot when video playback And cause it not smooth. Change-Id: I77920e902189ab4aa1ec594d351749ee4aa3a3ee Signed-off-by: tao zeng --- mm/page_alloc.c | 2 +- mm/page_isolation.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 999bdc9314b6..ecb2cf468e8e 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -7781,7 +7781,7 @@ int alloc_contig_range(unsigned long start, unsigned long end, /* Make sure the range is really isolated. */ if (test_pages_isolated(outer_start, end, false)) { - pr_info_ratelimited("%s: [%lx, %lx) PFNs busy\n", + pr_debug("%s: [%lx, %lx) PFNs busy\n", __func__, outer_start, end); ret = -EBUSY; goto done; diff --git a/mm/page_isolation.c b/mm/page_isolation.c index 71158a53f9f3..8eddf559a6ed 100644 --- a/mm/page_isolation.c +++ b/mm/page_isolation.c @@ -242,7 +242,7 @@ __test_page_isolated_in_pageblock(unsigned long pfn, unsigned long end_pfn, pfn++; #ifdef CONFIG_AMLOGIC_MODIFY else { /* for debug */ - pr_err("%s, pfn:%lx, flag:%lx, map_cnt:%d\n", + pr_debug("%s, pfn:%lx, flag:%lx, map_cnt:%d\n", __func__, pfn, page->flags, atomic_read(&page->_mapcount)); break;