Re: [PATCH] ANDROID: binder: Latelimit binder_debug().

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 10, 2018 at 2:09 PM, Tetsuo Handa
<penguin-kernel@xxxxxxxxxxxxxxxxxxx> wrote:
> I don't have benchmark data (I'm not an Android user). But an example log at
> https://syzkaller.appspot.com/text?tag=CrashLog&x=12f316fc400000 got
> about 13214 messages in 124 seconds (over 100 messages per a second).

I meant data for the cond_resched() change, which could have an impact
on IPC latency. But yeah, this is a lot. We typically don't see these
messages on Android userspace, because most of them would be caused be
userspace errors that can't happen when using binder libraries.
Obviously syzkaller doesn't use those. I think we'd like to keep
having these in Android builds, let me discuss internally if we can
just switch the default debug level and enable them in Android through
other means.

> Without disabling by default or latelimit printk(), the system shall become unusable.
>
> $ grep binder: log | wc -l
> 13214
> $ head log
> [ 1167.389978] binder: 15631:15631 got reply transaction with no transaction stack
> [ 1167.391813] binder: 15629:15629 transaction failed 29201/-71, size 0-8 line 2759
> [ 1167.399282] binder: 15631:15631 transaction failed 29201/-71, size 0-8 line 2759
> [ 1167.399548] binder: undelivered TRANSACTION_ERROR: 29201
> [ 1167.419645] binder: 15625:15625 got reply transaction with no transaction stack
> [ 1167.427800] binder: 15625:15625 transaction failed 29201/-71, size 0-8 line 2759
> [ 1167.461506] binder: 15634:15634 got reply transaction with no transaction stack
> [ 1167.469060] binder: 15634:15634 transaction failed 29201/-71, size 0-8 line 2759
> [ 1167.472747] binder: 15638:15638 got reply transaction with no transaction stack
> [ 1167.477550] binder: 15633:15633 got reply transaction with no transaction stack
> $ tail log
> [ 1291.131046] binder: 25566:25566 transaction failed 29201/-71, size 0-8 line 2759
> [ 1291.140761] binder: 25553:25553 got reply transaction with no transaction stack
> [ 1291.151698] binder: 25553:25553 transaction failed 29201/-71, size 0-8 line 2759
> [ 1291.182362] binder: 25568:25568 got reply transaction with no transaction stack
> [ 1291.183361] binder: undelivered TRANSACTION_ERROR: 29201
> [ 1291.189926] binder: 25568:25568 transaction failed 29201/-71, size 0-8 line 2759
> [ 1291.204438] binder: 25569:25569 got reply transaction with no transaction stack
> [ 1291.211953] binder: 25569:25569 transaction failed 29201/-71, size 0-8 line 2759
> [ 1291.213825] binder: 25572:25572 got reply transaction with no transaction stack
> [ 1291.227018] binder: 25572:25572 transaction failed 29201/-71, size 0-8 line 2759
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux