Re: lockdep oddity

Andrew Morton
2006-09-06T07:48:07Z

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.