mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [discuss] Re: [Bug 350] New: i386 context switch very slow compared to 2.4 due to wrmsr (performance)
@ 2003-02-14 14:03 Robert Dewar
  2003-02-14 14:25 ` Peter Finderup Lund
  2003-02-14 14:25 ` Peter Finderup Lund
  0 siblings, 2 replies; 10+ messages in thread
From: Robert Dewar @ 2003-02-14 14:03 UTC (permalink / raw)
  To: firefly, tjm; +Cc: discuss, linux-kernel, peter

> > The only way to get from long-mode back to legacy-mode is to reset the
> > processor.  It can be done in software but you will likely lose interrupts.
> 
> Smartdrv.sys and triple-faults come back, all is forgiven!  ;)

I have an idea, perhaps we can make the keyboard controller recognize a special
command that will reset the processor :-) :-)

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: [Bug 350] New: i386 context switch very slow compared to 2.4 due to wrmsr (performance)
@ 2003-02-13 18:07 Andi Kleen
  2003-02-14  0:14 ` [discuss] " Peter Tattam
  0 siblings, 1 reply; 10+ messages in thread
From: Andi Kleen @ 2003-02-13 18:07 UTC (permalink / raw)
  To: Eric W. Biederman; +Cc: linux-kernel, discuss

[Hmm, this is becomming a FAQ]

> Switching in and out of long mode is evil enough that I don't think it
> is worth it.  And encouraging people to write good JIT compiling

Forget it. It is completely undefined in the architecture what happens
then. You'll lose interrupts and everything. Nothing for an operating
system intended to be stable.

I have no plans at all to even think about it for Linux/x86-64.

> emulators sounds much better, especially in the long run.  But it can
> be written.

For DOS even a slow emulator should be good enough. After all most
DOS Programs are written for slow machines. Bochs running on a K8
will be hopefully fast enough. If not an JIT can be written, perhaps
you can extend valgrind for it.

Or if you really rely on a DOS program executing fast you can
always boot a 32bit kernel which of course still supports vm86
in legacy mode.

-Andi

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

end of thread, other threads:[~2003-02-14 14:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-14 14:03 [discuss] Re: [Bug 350] New: i386 context switch very slow compared to 2.4 due to wrmsr (performance) Robert Dewar
2003-02-14 14:25 ` Peter Finderup Lund
2003-02-14 14:25 ` Peter Finderup Lund
  -- strict thread matches above, loose matches on Subject: below --
2003-02-13 18:07 Andi Kleen
2003-02-14  0:14 ` [discuss] " Peter Tattam
2003-02-14  1:29   ` Andi Kleen
2003-02-14  1:51   ` Eric Northup
2003-02-14  2:01     ` Peter Tattam
2003-02-14  4:07       ` Thomas J. Merritt
2003-02-14  9:38         ` Peter Finderup Lund
2003-02-14  8:27   ` Eric W. Biederman

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®