lkml.org 
[lkml]   [2005]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] cpu hoptlug: avoid usage of smp_processor_id() in preemptible code

* Heiko Carstens <heiko.carstens@de.ibm.com> wrote:

> From: Heiko Carstens <heiko.carstens@de.ibm.com>
>
> 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-11-02 07:53    [W:0.157 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site