Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Stan Sieler <sieler@allegro.com>
To: mickey@openbsd.org
Cc: shaver@netscape.com, hppa-linux@thepuffingroup.com
Subject: Re: [hppa-linux] syscall work
Date: Mon, 29 Mar 1999 13:27:01 -0800 (PST)	[thread overview]
Message-ID: <199903292127.NAA30341@bart.allegro.com> (raw)
In-Reply-To: <199903261703.MAA19278@lucifier.dial-up.user.akula.net> from "Michael Shalayeff" at Mar 26, 99 12:03:26 pm

Re:

> let's think what is less efficient: extra mapped page, or
> extra indirrect ptr reference?
> my point is, why map extra page (and waiste extra page) ?
> one page is 128 page dir entries, hehe (; returning to the pd discussion)

If you're talking about the gateway page, if you don't actually *allocate*
a page, but simply rely on the trap that occurs when you try to jump to it,
then there's 0 storage cost for the extra mapped page approach...no TLB
entry, no entries in other data structures.  The only cost is the
additional CPU time in the TLB miss handler to say:

   if isr.ior = 0xc0000400 (or whatever)
      then handle system call attempt
   else
      handle TLB miss

BTW, the extra cost of doing a system call mechanism via a non-mapped gateway page
vs. using a GATE instruction is about 5 microseconds on a 32MHz machine.
 
-- 
Stan Sieler                                          sieler@allegro.com
                                     http://www.allegro.com/sieler.html

  reply	other threads:[~1999-03-29 21:27 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-25 20:46 [hppa-linux] syscall work Bjorn Helgaas
1999-03-25 21:07 ` Mike Shaver
1999-03-25 21:27   ` Stan Sieler
1999-03-25 23:30   ` Bob Pflederer
1999-03-25 23:55     ` Mike Shaver
1999-03-26  5:01       ` Kumar
1999-03-29  4:08         ` Stan Sieler
1999-03-26 15:39       ` Michael Shalayeff
1999-03-26 11:12         ` Mike Shaver
1999-03-26 17:03           ` Michael Shalayeff
1999-03-29 21:27             ` Stan Sieler [this message]
1999-03-29 20:41               ` Michael Shalayeff
     [not found] <199903292146.NAA28577@bart.allegro.com>
1999-03-29 21:55 ` Michael Shalayeff
  -- strict thread matches above, loose matches on Subject: below --
1999-03-29 21:50 Stan Sieler
1999-03-25 23:40 Bjorn Helgaas
1999-03-26  0:42 ` Alan Cox
1999-03-25 19:23 Cary Coutant
1999-03-25 20:12 ` Mike Shaver
1999-03-25 23:05 ` Alan Cox
1999-03-25 17:33 Mike Shaver

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=199903292127.NAA30341@bart.allegro.com \
    --to=sieler@allegro.com \
    --cc=hppa-linux@thepuffingroup.com \
    --cc=mickey@openbsd.org \
    --cc=shaver@netscape.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