Re: lockdep oddity

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

 



On Wed, 6 Sep 2006 09:20:43 +0200
Heiko Carstens <[email protected]> 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 [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