From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Manfred Spraul <manfred@colorfullife.com>
Cc: Zwane Mwaikambo <zwane@holomorphy.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH][2.5] smp_call_function_mask
Date: 21 Jan 2003 23:14:49 +0000 [thread overview]
Message-ID: <1043190888.1382.24.camel@dhcp22.swansea.linux.org.uk> (raw)
In-Reply-To: <3E2CF327.8030107@colorfullife.com>
On Tue, 2003-01-21 at 07:13, Manfred Spraul wrote:
> Alan wrote:
>
> >On Fri, 2003-01-17 at 05:18, Zwane Mwaikambo wrote:
> >> + /* Wait for response */
> >> + while (atomic_read(&data.started) != num_cpus)
> >> + barrier();
> >
> >Only old old intel x86 that does -bad- things as it
> >generates a lot of bus locked cycles. Better to do
> >
> > while(atomic_read(&data.started) != num_cpus)
> from 2.5.52, <asm-i386/atomic.h>
> #define atomic_read(v) ((v)->counter)
> AFAIK atomic_read never contained locked bus cycles.
For x86 at least it never did, you are right. Must be time for
a brain transplant
next prev parent reply other threads:[~2003-01-21 23:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-21 7:13 Manfred Spraul
2003-01-21 8:07 ` Zwane Mwaikambo
2003-01-21 9:21 ` Zwane Mwaikambo
2003-01-21 17:13 ` Manfred Spraul
2003-01-21 17:49 ` Zwane Mwaikambo
2003-01-21 23:14 ` Alan Cox [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-01-17 5:18 Zwane Mwaikambo
2003-01-17 5:44 ` Andrew Morton
2003-01-17 5:56 ` Zwane Mwaikambo
2003-01-20 23:19 ` Alan
2003-01-21 7:16 ` Zwane Mwaikambo
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=1043190888.1382.24.camel@dhcp22.swansea.linux.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=manfred@colorfullife.com \
--cc=zwane@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
all inboxes | Powered by JetHome®