Re: BUG: scheduling while atomic, under native_smp_prepare_cpus()

2012-08-21 Thread Michael Wang
On 08/22/2012 12:50 AM, Fengguang Wu wrote: > On Mon, Aug 20, 2012 at 05:42:22PM +0800, Michael Wang wrote: >> On 08/20/2012 05:27 PM, Fengguang Wu wrote: >>> Hi Michael, >>> >>> On Mon, Aug 20, 2012 at 05:20:35PM +0800, Michael Wang wrote: On 08/17/2012 09:49 PM, Fengguang Wu wrote:

Re: BUG: scheduling while atomic, under native_smp_prepare_cpus()

2012-08-21 Thread Fengguang Wu
On Mon, Aug 20, 2012 at 05:42:22PM +0800, Michael Wang wrote: > On 08/20/2012 05:27 PM, Fengguang Wu wrote: > > Hi Michael, > > > > On Mon, Aug 20, 2012 at 05:20:35PM +0800, Michael Wang wrote: > >> On 08/17/2012 09:49 PM, Fengguang Wu wrote: > >> > >> Hi, FengGuang > >> > >>

Re: BUG: scheduling while atomic, under native_smp_prepare_cpus()

2012-08-21 Thread Michael Wang
On 08/22/2012 12:50 AM, Fengguang Wu wrote: On Mon, Aug 20, 2012 at 05:42:22PM +0800, Michael Wang wrote: On 08/20/2012 05:27 PM, Fengguang Wu wrote: Hi Michael, On Mon, Aug 20, 2012 at 05:20:35PM +0800, Michael Wang wrote: On 08/17/2012 09:49 PM, Fengguang Wu wrote: Hi, FengGuang

Re: BUG: scheduling while atomic, under native_smp_prepare_cpus()

2012-08-21 Thread Fengguang Wu
On Mon, Aug 20, 2012 at 05:42:22PM +0800, Michael Wang wrote: On 08/20/2012 05:27 PM, Fengguang Wu wrote: Hi Michael, On Mon, Aug 20, 2012 at 05:20:35PM +0800, Michael Wang wrote: On 08/17/2012 09:49 PM, Fengguang Wu wrote: Hi, FengGuang native_smp_prepare_cpus has already

Re: BUG: scheduling while atomic, under native_smp_prepare_cpus()

2012-08-20 Thread Michael Wang
On 08/20/2012 05:27 PM, Fengguang Wu wrote: > Hi Michael, > > On Mon, Aug 20, 2012 at 05:20:35PM +0800, Michael Wang wrote: >> On 08/17/2012 09:49 PM, Fengguang Wu wrote: >> >> Hi, FengGuang >> >> native_smp_prepare_cpus has already disabled the preempt before >> reach __irq_alloc_descs(), and

Re: BUG: scheduling while atomic, under native_smp_prepare_cpus()

2012-08-20 Thread Fengguang Wu
Hi Michael, On Mon, Aug 20, 2012 at 05:20:35PM +0800, Michael Wang wrote: > On 08/17/2012 09:49 PM, Fengguang Wu wrote: > > Hi, FengGuang > > native_smp_prepare_cpus has already disabled the preempt before > reach __irq_alloc_descs(), and sleep in mutex_lock() cause the bug. > > May be the

Re: BUG: scheduling while atomic, under native_smp_prepare_cpus()

2012-08-20 Thread Michael Wang
On 08/17/2012 09:49 PM, Fengguang Wu wrote: Hi, FengGuang native_smp_prepare_cpus has already disabled the preempt before reach __irq_alloc_descs(), and sleep in mutex_lock() cause the bug. May be the follow patch could help to solve the issue(actually I think the true problem should be in

Re: BUG: scheduling while atomic, under native_smp_prepare_cpus()

2012-08-20 Thread Michael Wang
On 08/17/2012 09:49 PM, Fengguang Wu wrote: Hi, FengGuang native_smp_prepare_cpus has already disabled the preempt before reach __irq_alloc_descs(), and sleep in mutex_lock() cause the bug. May be the follow patch could help to solve the issue(actually I think the true problem should be in

Re: BUG: scheduling while atomic, under native_smp_prepare_cpus()

2012-08-20 Thread Fengguang Wu
Hi Michael, On Mon, Aug 20, 2012 at 05:20:35PM +0800, Michael Wang wrote: On 08/17/2012 09:49 PM, Fengguang Wu wrote: Hi, FengGuang native_smp_prepare_cpus has already disabled the preempt before reach __irq_alloc_descs(), and sleep in mutex_lock() cause the bug. May be the follow

Re: BUG: scheduling while atomic, under native_smp_prepare_cpus()

2012-08-20 Thread Michael Wang
On 08/20/2012 05:27 PM, Fengguang Wu wrote: Hi Michael, On Mon, Aug 20, 2012 at 05:20:35PM +0800, Michael Wang wrote: On 08/17/2012 09:49 PM, Fengguang Wu wrote: Hi, FengGuang native_smp_prepare_cpus has already disabled the preempt before reach __irq_alloc_descs(), and sleep in