Re: [PATCH 5/5] remove HAVE_ARCH_CMPXCHG

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 14, 2005 at 03:26:10PM -0700, David S. Miller wrote:
> From: Russell King <[email protected]>
> Date: Wed, 14 Sep 2005 23:03:53 +0100
> 
> > What business has userspace got of telling whether cmpxchg works on
> > an architecture by looking at kernel headers?
> 
> Russell, please don't fly off the handle like this.

Sigh, I wasn't.  I was making a valid point.  Maybe if you read the
bit I quoted you'd have realised that, which was:

> I think userspace synchronization may be quite a valid use of
          ^^^^^^^^^
> atomic cmpxchg, but Kconfig is a far better place to do it than
> testing HAVE_ARCH_CMPXCHG.

But maybe I'm not capable of interpreting the above english?  To
me at least it's definitely talking about user space, not kernel
space.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux