mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* On trying to drop X86_PPRO_FENCE..
@ 2014-03-11 17:43 Linus Torvalds
  2014-03-11 21:25 ` One Thousand Gnomes
  0 siblings, 1 reply; 2+ messages in thread
From: Linus Torvalds @ 2014-03-11 17:43 UTC (permalink / raw)
  To: Ingo Molnar, One Thousand Gnomes
  Cc: H. Peter Anvin, Stefani Seibold, Andy Lutomirski,
	Linux Kernel Mailing List, Andreas Brief, Martin Runge

On Tue, Mar 11, 2014 at 3:11 AM, Ingo Molnar <mingo@kernel.org> wrote:
>
> But ... when PPro was common our parallelization sucked, so I'd not be
> surprised if it triggered more frequently with a modern kernel.

Agreed. It is certainly very possible that we had no reports of this
simply because we never had any real concurrent cache accesses
(outside of the BKL).

That said, the Intel errata does do say that they never saw reports of
it in any real loads either, so it really is debatable whether it ever
made sense. Back in the PPro days, there were *other* x86 unixes
around that might have hit it, including very much the Sequent NUMA-Q.

I have this dim memory that the only reason I knew about the errata
originally was that I was talking memory ordering for the spinlock
code with Andy Glew from Intel, to verify that a simple store really
does work as an unlock, and he dropped the "Yeah, except for some
buggy old PPro cpu errata" bomb.

(Although honestly, that whole thing is so long ago that my "dim
memory" is very suspect, and it's possible the workaround actually
came independently of that from Alan Cox. This all happened in
v2.4.13-rc2 - late 2001 - and the PPro workaround came in together
with the X86 OOSTORE code, which I *think* was Alan. Asking the gnomes
in case they remember how it happened).

                 Linus

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-11 21:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-11 17:43 On trying to drop X86_PPRO_FENCE Linus Torvalds
2014-03-11 21:25 ` One Thousand Gnomes

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®