Re: wmb() confusion in system.h

From: Ingo Molnar
Date: Tue Mar 04 2008 - 07:21:07 EST



* Pavel Machek <pavel@xxxxxx> wrote:

> Hi!
>
> Comment says wmb is a nop, but it is implemented as lock addl below...
> Should it be compiled to nop if we know we are running on "good" Intel
> cpu?
>
> At least remove confusing comment for now.

agreed - that comment is pretty much out of date. I've applied your
patch.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/