Re: [PATCH 2/2] enhance sysfs rfkill interface

From: Valdis . Kletnieks
Date: Fri Mar 12 2010 - 18:49:25 EST


On Fri, 12 Mar 2010 23:39:25 +0100, Florian Mickler said:
> On Fri, 12 Mar 2010 13:20:26 -0800
> Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> wrote:

> > You are not updating but reading... Are you concerned about seeing
> > a partial write to u32? It does not happen.
> >
> Hm.. You shure? On every arch that supports wireless drivers?

If a u32 load or store from memory isn't atomic, the Linux kernel is screwed
anyhow. Hint - imagine if every 32-bit reference had to be treated the way
we currently treat 64-bit references on a 32-bit system.

Attachment: pgp00000.pgp
Description: PGP signature