Re: + kthread-add-a-missing-memory-barrier-to-kthread_stop.patch added to -mm tree

From: David Howells
Date: Mon Feb 25 2008 - 09:04:32 EST


Dmitry Adamushko <dmitry.adamushko@xxxxxxxxx> wrote:

> (3)
>
> LOCK
>
> LOAD(a)
> MODIFY(b)
>
> UNLOCK
>
> and this last one is a problem. No?

I assume you meant:

LOCK
LOAD(b)
MODIFY(a)
UNLOCK

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