Re: [PATCH] freezer: use smp barriers

From: Pavel Machek
Date: Mon Apr 25 2011 - 04:38:53 EST


On Mon 2011-04-25 03:31:05, Mike Frysinger wrote:
> The freezer processes are dealing with multiple threads running
> simultaneously, and on a UP system, the memory reads/writes do
> not need barriers to keep things in sync. These are only needed
> on SMP systems, so use SMP barriers instead.
>
> Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>

ACK.

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/