Re: [PATCH -mm] PM: Prevent frozen user mode helpers from failingthe freezing of tasks (rev. 2)

From: Benjamin Herrenschmidt
Date: Tue Jul 03 2007 - 01:44:39 EST


On Tue, 2007-06-26 at 10:48 +0200, Pavel Machek wrote:
> > The problem, as far as I understand it, is that the instructions can
> get
> > reordered if there are no barriers in there.
>
> Are you sure? I thought atomic variables have barrirers built-in.

bzzzt. they don't.

Ben.


-
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/