From: Reto Baettig <baettig@scs.ch>
To: Andrea Arcangeli <andrea@suse.de>
Cc: Richard Henderson <rth@twiddle.net>,
Linux Kernel Mailinglist <linux-kernel@vger.kernel.org>,
linux-alpha@vger.kernel.org
Subject: Re: Alpha SMP problem
Date: Fri, 01 Dec 2000 08:28:57 -0800 [thread overview]
Message-ID: <3A27D1C9.95F63366@scs.ch> (raw)
In-Reply-To: <3A08455E.F3583D1B@scs.ch> <20001107225749.B26542@twiddle.net> <20001124044615.A6807@athlon.random>
Hi!
It's great that you could fix that!
Is there any chance that we will see this patch as well as your other
Alpha patches included in future 2.2.X and 2.4.X releases?
Thanks,
Reto
Andrea Arcangeli wrote:
>
> There were a few SMP races that could trigger only using threads:
>
> 1) flush_tlb_other could happen after we read the mm->context and we could
> miss a tlb flush
> 2) flush_tlb_current could bump up the asn of the current cpu and in turn
> change the asn version after we acquired a new context leading to
> an alias between our asn and a later one
> 3) a PAL_swpctx can't be done in the middle of alpha_switch_to
>
> ppc/sparc64 may have similar issues and I didn't checked them (from a fast read
> it looks like sparc64 is just safe but I don't know the sparc hardware
> well enough to be sure).
>
> I also noticed the horrible implementation of ASN in SMP so while I was
> there I rewrote it.
>
> The rewrote is based on the fact that mm->context makes no sense. It must be an
> array of mm->context[NR_CPUS]. Almost certainly mips wants an array of NR_CPUS
> too. Anyways for mips it's not a big deal since SMP isn't supported in 2.2.x ;).
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2000-12-01 22:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-07 18:09 Alpha SMP problem Reto Baettig
2000-11-07 18:46 ` Reto Baettig
2000-11-08 6:57 ` Richard Henderson
2000-11-24 3:46 ` Andrea Arcangeli
2000-12-01 16:28 ` Reto Baettig [this message]
2000-12-01 21:52 ` Andrea Arcangeli
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=3A27D1C9.95F63366@scs.ch \
--to=baettig@scs.ch \
--cc=andrea@suse.de \
--cc=linux-alpha@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rth@twiddle.net \
/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