From: Arjan van de Ven <arjanv@redhat.com>
To: Tim Hockin <thockin@hockin.org>
Cc: "Perez-Gonzalez, Inaky" <inaky.perez-gonzalez@intel.com>,
sankar <san_madhav@hotmail.com>,
linux-kernel@vger.kernel.org
Subject: Re: Question on atomic_inc/dec
Date: Wed, 15 Oct 2003 09:57:32 +0200 [thread overview]
Message-ID: <1066204651.5252.3.camel@laptop.fenrus.com> (raw)
In-Reply-To: <20031014214437.GA30302@hockin.org>
[-- Attachment #1: Type: text/plain, Size: 517 bytes --]
On Tue, 2003-10-14 at 23:44, Tim Hockin wrote:
> On Tue, Oct 14, 2003 at 02:17:49PM -0700, Perez-Gonzalez, Inaky wrote:
> > It will be in include/asm/atomic.h; however, it is not wise to
> > use directly the kernel stuff unless you are coding kernel stuff.
>
> Is there any reason NOT to use the atomic ops in user-space?
also the /usr/include/asm/atomic.h versions never were actually atomic!
Those being actually atomic depends on CONFIG_SMP defined, which for
userspace... well you get the picture.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-10-15 7:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-14 21:17 Question on atomic_inc/dec Perez-Gonzalez, Inaky
2003-10-14 21:34 ` sankar
2003-10-14 21:44 ` Tim Hockin
2003-10-14 22:35 ` David S. Miller
2003-10-15 7:57 ` Arjan van de Ven [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-10-15 17:38 Perez-Gonzalez, Inaky
2003-10-14 22:29 Perez-Gonzalez, Inaky
2003-10-15 17:28 ` sankar
2003-10-14 18:38 sankar
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=1066204651.5252.3.camel@laptop.fenrus.com \
--to=arjanv@redhat.com \
--cc=inaky.perez-gonzalez@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=san_madhav@hotmail.com \
--cc=thockin@hockin.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