[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <45C72320.5040103@imap.cc>
Date: Mon, 05 Feb 2007 13:29:20 +0100
From: Tilman Schmidt <tilman@...p.cc>
To: Andrew Morton <akpm@...ux-foundation.org>
CC: Karsten Keil <kkeil@...e.de>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
i4ldeveloper@...tserv.isdn4linux.de, linux-serial@...r.kernel.org,
Hansjoerg Lipp <hjlipp@....de>,
Alan Cox <alan@...rguk.ukuu.org.uk>, Greg KH <greg@...ah.com>
Subject: Re: [PATCH] drivers/isdn/gigaset: new M101 driver
Andrew Morton schrieb:
> On Mon, 05 Feb 2007 02:42:09 +0100 Tilman Schmidt <tilman@...p.cc> wrote:
>
>> It's a pointer. Are reads and writes of pointer sized objects
>> guaranteed to be atomic on every platform?
>
> Yup - we make the same assumption about longs in various places.
>
> It's a bit strange to read a pointer which can be changing at the
> same time. Because the local copy will no longer represent the
> thing which it was just copied from.
It's not that bad. The only possible concurrent change is from NULL
to non-NULL. Fearing an inconsistent read in that event was too
paranoid apparently.
Thanks for all your suggestions. I'll prepare a new patch based on
them.
--
Tilman Schmidt E-Mail: tilman@...p.cc
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Ungeöffnet mindestens haltbar bis: (siehe Rückseite)
Download attachment "signature.asc" of type "application/pgp-signature" (251 bytes)
Powered by blists - more mailing lists