From: Tom Rini <trini@kernel.crashing.org>
To: Brent Cook <bcook@bpointsys.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: [PATCH] Export PowerPC atomic operations to userspace
Date: Mon, 15 May 2006 10:16:29 -0700 [thread overview]
Message-ID: <20060515171629.GC22868@smtp.west.cox.net> (raw)
In-Reply-To: <200605151154.52599.bcook@bpointsys.com>
On Mon, May 15, 2006 at 11:54:52AM -0500, Brent Cook wrote:
> The atomic operations in asm/atomic.h are really useful from userspace too.
> Other architectures (i386, x86_64, mips) export these to userspace, but the
> powerpc versions are guarded by __KERNEL__ for some reason. Can we remove
> these if there is no good reason to guard them?
>
> Signed-off-by: Brent Cook <bcook@bpointsys.com>
NAK. i386, x86_64 and mips are broken in this regard. Please google up
the previous threads that explain why you can't always get atomic
operations on all architectures and why exporting this is bad.
--
Tom Rini
next prev parent reply other threads:[~2006-05-15 18:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-15 16:54 [PATCH] Export PowerPC atomic operations to userspace Brent Cook
2006-05-15 17:16 ` Tom Rini [this message]
2006-05-15 18:18 ` Brent Cook
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060515171629.GC22868@smtp.west.cox.net \
--to=trini@kernel.crashing.org \
--cc=bcook@bpointsys.com \
--cc=linuxppc-embedded@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).