linux-mips
[Top] [All Lists]

Re: [Q: Linux/SGI] IRIX executable memory map.

To: wje@fir.engr.sgi.com (William J. Earl)
Subject: Re: [Q: Linux/SGI] IRIX executable memory map.
From: alan@lxorguk.ukuu.org.uk (Alan Cox)
Date: Sat, 6 Sep 1997 00:05:56 +0100 (BST)
Cc: miguel@nuclecu.unam.mx, linux@fir.engr.sgi.com
In-reply-to: <199709052251.PAA20078@fir.engr.sgi.com> from "William J. Earl" at Sep 5, 97 03:51:00 pm
Sender: owner-linux@cthulhu.engr.sgi.com
>      Simply automatically create the page in the page fault handler
> when it is first referenced.  Treat as if it were an mmap() of /dev/zero
> for 1 page.

Better to map it first. page fault is a far more critical path to stick
conditionals into. Even better if possible is to stick it into the userspace
dynamic loader for irix binaries. That however means not using the irix one
or having a "preloader" before it

Alan


<Prev in Thread] Current Thread [Next in Thread>