SMP: BUG with PREEMPT enabled

Shilimkar, Santosh santosh.shilimkar at ti.com
Thu Oct 15 09:25:13 EDT 2009


The patch submitted to patch-system I based it on 2.6.32-rc4

Have you tried that patch ?

The one attached was in email was based on 2.6.31

Regards,
Santosh

> -----Original Message-----
> From: Russell King - ARM Linux [mailto:linux at arm.linux.org.uk]
> Sent: Thursday, October 15, 2009 5:11 PM
> To: Shilimkar, Santosh
> Cc: linux-omap at vger.kernel.org; linux-arm-kernel at lists.infradead.org
> Subject: Re: SMP: BUG with PREEMPT enabled
> 
> On Wed, Oct 14, 2009 at 04:56:18PM +0530, Shilimkar, Santosh wrote:
> > > On the latest ARM kernel(v2.6.32-rc4),I have observed a BUG() dump
> when
> 
> Umm...
> 
> > @@ -350,7 +350,7 @@ static inline void local_flush_tlb_mm(struct
> mm_struct *mm)
> >  	if (tlb_flag(TLB_WB))
> >  		dsb();
> >
> > -	if (cpu_isset(smp_processor_id(), mm->cpu_vm_mask)) {
> > +	if (cpu_isset(get_cpu(), mm->cpu_vm_mask)) {
> 
> This isn't 2.6.32-rc4 code - which actually is:
> 
>         if (cpumask_test_cpu(smp_processor_id(), mm_cpumask(mm))) {
> 
> so what kernel version are you working with?
> 
> The result is this patch won't apply to 2.6.32-rc4.




More information about the linux-arm-kernel mailing list