binder: Silence some logspam

Signed-off-by: Sorayukii <sorayukii69@gmail.com>
This commit is contained in:
zeelog 2023-03-26 23:05:42 +02:00 • committed by Sorayukii
commit 5706f1e77b
2 changed files with 5 additions and 7 deletions

View file

@ -233,9 +233,8 @@ static int binder_update_page_range(struct binder_alloc *alloc, int allocate,
}
if (!vma && need_mm) {
binder_alloc_debug(BINDER_DEBUG_USER_ERROR,
"%d: binder_alloc_buf failed to map pages in userspace, no vma\n",
alloc->pid);
pr_debug("%d: binder_alloc_buf failed to map pages in userspace, no vma\n",
alloc->pid);
goto err_no_vma;
}
@ -415,9 +414,8 @@ static struct binder_buffer *binder_alloc_new_buf_locked(
int ret;
if (!binder_alloc_get_vma(alloc)) {
binder_alloc_debug(BINDER_DEBUG_USER_ERROR,
"%d: binder_alloc_buf, no vma\n",
alloc->pid);
pr_debug("%d: binder_alloc_buf, no vma\n",
alloc->pid);
return ERR_PTR(-ESRCH);
}

View file

@ -2131,7 +2131,7 @@ void suspend_console(void)
{
if (!console_suspend_enabled)
return;
printk("Suspending console(s) (use no_console_suspend to debug)\n");
//printk("Suspending console(s) (use no_console_suspend to debug)\n");
console_lock();
console_suspended = 1;
up_console_sem();