Re: cmpxchg in 2.5.38

David S. Miller (davem@redhat.com)
Wed, 25 Sep 2002 00:47:19 -0700 (PDT)


From: Oleg Drokin <green@namesys.com>
Date: Wed, 25 Sep 2002 11:18:20 +0400

Ingo said that arches that cannot do cmpxchg in hardware should
provide spinlock-based version.

That doesn't make any sense.

If cmpxchg cannot work with user bits of memory, like
cmpxchg is supposed to, it's really a crutch more than
anything else.

F.e. people will think that such systems can support DRM
correctly, they absolutely cannot.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/