Re: [PATCH] soc: ti: knav_qmss: Use percpu instead atomic for stats counter

2018-04-13 Thread santosh.shilim...@oracle.com
On 4/11/18 3:28 PM, santosh.shilim...@oracle.com wrote: On 4/11/18 12:16 PM, Vasyl Gomonovych wrote: Hwqueue has collect statistics in heavy use queue_pop/queu_push functions for cache efficiency and make push/pop faster use percpu variables. For performance reasons, driver should keep descripto

Re: [PATCH] soc: ti: knav_qmss: Use percpu instead atomic for stats counter

2018-04-12 Thread Grygorii Strashko
CC: Murali On 04/11/2018 02:16 PM, Vasyl Gomonovych wrote: Hwqueue has collect statistics in heavy use queue_pop/queu_push functions for cache efficiency and make push/pop faster use percpu variables. For performance reasons, driver should keep descriptor in software handler as short as possible

Re: [PATCH] soc: ti: knav_qmss: Use percpu instead atomic for stats counter

2018-04-11 Thread santosh.shilim...@oracle.com
On 4/11/18 12:16 PM, Vasyl Gomonovych wrote: Hwqueue has collect statistics in heavy use queue_pop/queu_push functions for cache efficiency and make push/pop faster use percpu variables. For performance reasons, driver should keep descriptor in software handler as short as possible and quickly re

[PATCH] soc: ti: knav_qmss: Use percpu instead atomic for stats counter

2018-04-11 Thread Vasyl Gomonovych
Hwqueue has collect statistics in heavy use queue_pop/queu_push functions for cache efficiency and make push/pop faster use percpu variables. For performance reasons, driver should keep descriptor in software handler as short as possible and quickly return it back to hardware queue. Descriptors com