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 <tao.zeng@amlogic.com>
This commit is contained in:
tao zeng
2017-11-02 11:15:57 +08:00
committed by Jianxin Pan
parent e720c7885d
commit b99ebebc62
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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;