Thread (11 messages) 11 messages, 4 authors, 2007-02-12

Re: [PATCH] drivers/isdn/gigaset: new M101 driver

From: Tilman Schmidt <hidden>
Date: 2007-02-05 12:29:57
Also in: lkml

Andrew Morton schrieb:
On Mon, 05 Feb 2007 02:42:09 +0100 Tilman Schmidt [off-list ref] wrote:
quoted
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@imap.cc
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Ungeöffnet mindestens haltbar bis: (siehe Rückseite)

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help