From: "David S. Miller" <davem@redhat.com>
To: Tim Hockin <thockin@hockin.org>
Cc: inaky.perez-gonzalez@intel.com, san_madhav@hotmail.com,
linux-kernel@vger.kernel.org
Subject: Re: Question on atomic_inc/dec
Date: Tue, 14 Oct 2003 15:35:26 -0700 [thread overview]
Message-ID: <20031014153526.5904b7c7.davem@redhat.com> (raw)
In-Reply-To: <20031014214437.GA30302@hockin.org>
On Tue, 14 Oct 2003 14:44:37 -0700
Tim Hockin <thockin@hockin.org> wrote:
> Is there any reason NOT to use the atomic ops in user-space? I mean, are
> they privileged on some architectures, or ...?
Yes, they are. Some use interrupt disabling and a spinlock inside
the kernel to implement the atomicity.
next prev parent reply other threads:[~2003-10-14 22:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-14 21:17 Perez-Gonzalez, Inaky
2003-10-14 21:34 ` sankar
2003-10-14 21:44 ` Tim Hockin
2003-10-14 22:35 ` David S. Miller [this message]
2003-10-15 7:57 ` Arjan van de Ven
-- 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=20031014153526.5904b7c7.davem@redhat.com \
--to=davem@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
all inboxes | Powered by JetHome®