Re: [PATCH] a minor fix for set_mb() in Documentation/memory-barriers.txt

From: David Howells
Date: Wed Nov 08 2006 - 06:31:36 EST


Oleg Nesterov <oleg@xxxxxxxxxx> wrote:

> set_mb() is used by set_current_state() which needs mb(), not wmb().
> I think it would be right to assume that set_mb() implies mb(), all
> arches seem to do just this.

Yes, you're right. Copy'n'paste error from the text about set_wmb() I think.

Acked-By: David Howells <dhowells@xxxxxxxxxx>
-
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/