Re: [PATCH] cpu hoptlug: avoid usage of smp_processor_id() in preemptible code

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

 



* Heiko Carstens <[email protected]> wrote:

> From: Heiko Carstens <[email protected]>
> 
> Replace smp_processor_id() with any_online_cpu(cpu_online_map) in 
> order to avoid lots of "BUG: using smp_processor_id() in preemptible 
> [00000001] code:..." messages in case taking a cpu online fails.

could you post the full message, including the stacktrace? I think this 
patch just works around the debugging message, and there might be some 
real bug to fix.

	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