Re: [PATCH] sched: fix should_resched() to avoid do schedule in atomic

2012-10-08 Thread Michael Wang
On 09/18/2012 11:13 AM, Michael Wang wrote: > This patch try to fix the BUG: > > [0.043953] BUG: scheduling while atomic: swapper/0/1/0x1002 > [0.044017] no locks held by swapper/0/1. > [0.044692] Pid: 1, comm: swapper/0 Not tainted 3.6.0-rc1-00420-gb7aebb9 > #34 > [0.045861]

Re: [PATCH] sched: fix should_resched() to avoid do schedule in atomic

2012-10-06 Thread Michael Wang
On 10/06/2012 05:06 PM, Michael Wang wrote: > On 09/26/2012 11:41 AM, Michael Wang wrote: >> On 09/18/2012 11:13 AM, Michael Wang wrote: >>> This patch try to fix the BUG: >>> >>> [0.043953] BUG: scheduling while atomic: swapper/0/1/0x1002 >>> [0.044017] no locks held by swapper/0/1. >>

Re: [PATCH] sched: fix should_resched() to avoid do schedule in atomic

2012-10-06 Thread Michael Wang
On 09/26/2012 11:41 AM, Michael Wang wrote: > On 09/18/2012 11:13 AM, Michael Wang wrote: >> This patch try to fix the BUG: >> >> [0.043953] BUG: scheduling while atomic: swapper/0/1/0x1002 >> [0.044017] no locks held by swapper/0/1. >> [0.044692] Pid: 1, comm: swapper/0 Not tainted

Re: [PATCH] sched: fix should_resched() to avoid do schedule in atomic

2012-09-25 Thread Michael Wang
On 09/18/2012 11:13 AM, Michael Wang wrote: > This patch try to fix the BUG: > > [0.043953] BUG: scheduling while atomic: swapper/0/1/0x1002 > [0.044017] no locks held by swapper/0/1. > [0.044692] Pid: 1, comm: swapper/0 Not tainted 3.6.0-rc1-00420-gb7aebb9 > #34 > [0.045861]