Re: [PREEMPT_RT] [PATCH] Fix BUG: using smp_processor_id() in preemptible [00000000] code: nfsd/2852

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Ankita Garg <[email protected]> wrote:

> While running some tests on 2.6.20-rt8 with DEBUG_PREEMPT on, I hit 
> the following BUG:

> This patch fixes the above issue which arises due to the call to 
> smp_processor_id in drain_array() from mm/slab.c. smp_processor_id() 
> invocation is redundant here, as the call to slab_spin_lock_irq() 
> already fills the value of this_cpu using raw_smp_processor_id().

thanks, applied!

	Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux