Re: [PATCH -mm 1/6] cpu_relax(): interrupt.h

From: Arjan van de Ven
Date: Wed Jun 21 2006 - 17:03:03 EST


On Wed, 2006-06-21 at 22:59 +0200, Andreas Mohr wrote:
> Add cpu_relax() to tasklet_unlock_wait() loop.
>
>
> I kept barrier() since it is said to still be required, in various older
> postings.

cpu_relax() includes a barrier always, per definition.
(simply because anywhere you would use cpu_relax() you would also put a
barrier)


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