lkml.org 
[lkml]   [2006]   [Sep]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 6 Sep 2006 00:47:24 -0700
FromAndrew Morton <>
SubjectRe: lockdep oddity
On Wed, 6 Sep 2006 09:20:43 +0200
Heiko Carstens <heiko.carstens@de.ibm.com> wrote:

> I'm also wondering why the profile
> patch contains this:
> 
> +       if (ret)
> +               likeliness->count[1]++;
> +       else
> +               likeliness->count[0]++;
> 
> This isn't smp safe. Is that on purpose or a bug?

Purposeful.   This is called from all contexts, including NMI.
-
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: 2006-09-06 09:51    [from the cache]
©2003-2008