From: Russell King <rmk@arm.linux.org.uk>
To: Oleg Drokin <green@namesys.com>
Cc: Ingo Molnar <mingo@elte.hu>,
Linus Torvalds <torvalds@transmeta.com>,
William Lee Irwin III <wli@holomorphy.com>,
linux-kernel@vger.kernel.org
Subject: Re: [patch] generic-pidhash-2.5.36-D4, BK-curr
Date: Fri, 20 Sep 2002 13:15:25 +0100 [thread overview]
Message-ID: <20020920131525.A26646@flint.arm.linux.org.uk> (raw)
In-Reply-To: <20020920154347.A12399@namesys.com>; from green@namesys.com on Fri, Sep 20, 2002 at 03:43:47PM +0400
On Fri, Sep 20, 2002 at 03:43:47PM +0400, Oleg Drokin wrote:
> On Fri, Sep 20, 2002 at 11:40:16AM +0200, Ingo Molnar wrote:
> > we need a cmpxchg() function in the generic library, using a spinlock.
>
> But this is not safe for arches that provides SMP but does not provide
> cmpxchg in hadware, right?
> I mean it is only safe to use such spinlock-based function if
> all other places read and write this value via special functions that are
> also taking this spinlock.
Correct.
> Do you think we can count on this?
I don't think so.
--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html
next prev parent reply other threads:[~2002-09-20 12:10 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.44.0209182101150.27697-100000@localhost.localdomain>
2002-09-19 2:54 ` Ingo Molnar
2002-09-19 6:10 ` Linus Torvalds
2002-09-19 9:25 ` Ingo Molnar
2002-09-19 10:59 ` William Lee Irwin III
2002-09-19 15:12 ` Linus Torvalds
2002-09-19 15:21 ` Ingo Molnar
2002-09-19 16:35 ` Andries Brouwer
2002-09-19 16:43 ` Linus Torvalds
2002-09-19 18:54 ` Miquel van Smoorenburg
2002-09-19 19:10 ` Kai Henningsen
2002-09-19 20:32 ` Linus Torvalds
2002-09-19 22:29 ` Miquel van Smoorenburg
2002-09-19 19:38 ` [patch] generic-pidhash-2.5.36-J2, BK-curr Ingo Molnar
2002-09-19 20:21 ` Christoph Hellwig
2002-09-19 23:32 ` Dave Jones
2002-09-19 23:46 ` Ingo Molnar
2002-09-19 21:31 ` Linus Torvalds
2002-09-19 21:39 ` Ingo Molnar
2002-09-20 8:27 ` [patch] generic-pidhash-2.5.36-D4, BK-curr Oleg Drokin
2002-09-20 9:40 ` Ingo Molnar
2002-09-20 11:43 ` Oleg Drokin
2002-09-20 12:15 ` Russell King [this message]
2002-09-20 16:34 ` Ingo Molnar
2002-09-20 17:11 ` Andrew Morton
2002-09-20 13:03 Hanumanthu. H
2002-09-20 13:12 Hanumanthu. H
2002-09-20 13:09 ` Oleg Drokin
2002-09-20 16:47 ` Ingo Molnar
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=20020920131525.A26646@flint.arm.linux.org.uk \
--to=rmk@arm.linux.org.uk \
--cc=green@namesys.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=torvalds@transmeta.com \
--cc=wli@holomorphy.com \
/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
Powered by JetHome