Re: [PATCH 3.12] mwifiex: queue main work from main process when bailing on races

2013-09-25 Thread Daniel Mack
Hi Bing, On 25.09.2013 18:19, Bing Zhao wrote: >>> Acked-by: Bing Zhao >> >> John, could you pick this one? > > We found that this patch causes CPU utilization issue on > Chromebooks. Could you please try attached patch on your platform? > Basically this patch reverts your change and add main_p

RE: [PATCH 3.12] mwifiex: queue main work from main process when bailing on races

2013-09-25 Thread Bing Zhao
Hi Daniel, > > Acked-by: Bing Zhao > > John, could you pick this one? We found that this patch causes CPU utilization issue on Chromebooks. Could you please try attached patch on your platform? Basically this patch reverts your change and add main_proc_lock protection for int_status and IS_CA

Re: [PATCH 3.12] mwifiex: queue main work from main process when bailing on races

2013-09-25 Thread Daniel Mack
On 17.09.2013 21:15, Bing Zhao wrote: >> Queue main_work in case mwifiex_main_process() bails due to an already >> processed transaction. This is particularly necessary because >> mwifiex_main_process() is called from both the SDIO interrupt handler and >> the workqueue. In case an interrupt occurs

RE: [PATCH 3.12] mwifiex: queue main work from main process when bailing on races

2013-09-17 Thread Bing Zhao
Hi Daniel, > Queue main_work in case mwifiex_main_process() bails due to an already > processed transaction. This is particularly necessary because > mwifiex_main_process() is called from both the SDIO interrupt handler and > the workqueue. In case an interrupt occurs while the main process is > c

[PATCH 3.12] mwifiex: queue main work from main process when bailing on races

2013-09-17 Thread Daniel Mack
Queue main_work in case mwifiex_main_process() bails due to an already processed transaction. This is particularly necessary because mwifiex_main_process() is called from both the SDIO interrupt handler and the workqueue. In case an interrupt occurs while the main process is currently executed from