9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: jmk@plan9.bell-labs.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] 386
Date: Sat, 29 Oct 2005 16:01:36 -0400	[thread overview]
Message-ID: <12f7bf2af3e9fd212dd65a508a614428@plan9.bell-labs.com> (raw)
In-Reply-To: <20051029190745.GE38291@mero.morphisms.net>

We're testing a rewrite of the x86 VM system and invlpg
is much less expensive than the alternative of flushing
the entire TLB for temporary mappings. I've been using
invlpg in the old VM system for a while but the code has
to have tests for processor type.

I'd actually like to go further and only support processors
that have the CPUID instruction (that includes the plain
Pentium otherwise my home machine would need to be replaced).

We could provide instructions for what to do if someone
desperately wanted to run the system on deprecated hardware,
it's not hard but I feel it's not worth keeping the support
in the main tree. Also, I can't find the old AT&T Safari
and Gateway Nomad laptops I kept around for testing 386
and 486 compatibility so we've no way to test on those
any more.

--jim

On Sat Oct 29 15:08:57 EDT 2005, jkw@eecs.harvard.edu wrote:
> On Sat, Oct 29, 2005 at 11:08:18AM -0400, Russ Cox wrote:
> > Is anyone out there using Plan 9 on 386 machines?
> > I'm just wondering whether it's going to affect anyone
> > if the default kernels assume they can use some of
> > the 486 instructions (specifically INVLPG).
> 
> I am not and for some things I'm working on, I've given
> up and assumed a PentiumPro.  That said, it would be
> nice to retain support for older machines.
> 
> It has been a while since I've looked at Plan 9's VM
> system.  How hard would it be to select an implementation
> at run time?  It isn't too hard to probe for these sorts
> of things at boot.  I suppose one could also make it a
> compile-time option, but I'd be inclined to avoid that
> since it could lead to a real mess if people decided that
> they wanted to use other features down the road.
> 
> Why the sudden interest in invlpg?


  reply	other threads:[~2005-10-29 20:01 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-29 15:08 Russ Cox
2005-10-29 15:26 ` Lucio De Re
2005-10-29 19:07 ` William Josephson
2005-10-29 20:01   ` jmk [this message]
2005-10-29 20:06     ` Lucio De Re
2005-10-29 21:07     ` Uriel
2005-10-29 21:18       ` jmk
2005-10-29 21:51     ` Ronald G Minnich
2005-10-29 22:31       ` Francisco J Ballesteros
2005-10-30  0:50         ` Ronald G Minnich
2005-10-30  5:41           ` Jack Johnson
2005-10-30 16:15             ` Ronald G Minnich
2005-10-30 20:02             ` jmk
2005-10-30 20:12               ` Uriel
2005-10-30 20:34                 ` Devon H. O'Dell
2005-10-30 20:52                   ` jmk
2005-10-30 21:15                     ` Devon H. O'Dell
2005-10-30 22:56                       ` jmk
2005-10-31  0:20                         ` Ronald G Minnich
2005-10-31  0:49                           ` Russ Cox
2005-10-31 21:26                             ` Dave Eckhardt
2005-10-30 21:27                     ` Mike Haertel
2005-10-31 10:06                       ` Charles Forsyth
2005-10-30 22:11                     ` Ronald G Minnich
2005-10-30 21:16                       ` Francisco J Ballesteros
2005-10-30 21:53               ` Ronald G Minnich
2005-10-29 23:45       ` John DeGood
2005-10-30  0:04         ` William Josephson
2005-10-30 12:59       ` Brantley Coile
2005-10-30  1:14     ` geoff
2005-10-29 20:22 ` Christopher Nielsen

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=12f7bf2af3e9fd212dd65a508a614428@plan9.bell-labs.com \
    --to=jmk@plan9.bell-labs.com \
    --cc=9fans@cse.psu.edu \
    /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;
as well as URLs for NNTP newsgroup(s).