mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-02 11:13:02 +09:00
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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user