linux-mips
[Top] [All Lists]

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

To: Ralf Baechle <ralf@mailhost.uni-koblenz.de>
Subject: Re: [Q: Linux/SGI] IRIX executable memory map.
From: "William J. Earl" <wje@fir.engr.sgi.com>
Date: Fri, 5 Sep 1997 19:03:01 -0700
Cc: miguel@nuclecu.unam.mx, linux@fir.engr.sgi.com
In-reply-to: <199709060033.CAA11262@informatik.uni-koblenz.de>
References: <199709052251.PAA20078@fir.engr.sgi.com> <199709060033.CAA11262@informatik.uni-koblenz.de>
Sender: owner-linux@cthulhu.engr.sgi.com
Ralf Baechle writes:
 > Hi,
 > 
 > >      The library is fetching the PID from t_pid instead of calling getpid()
 > > for performance reasons.
 > 
 > Byte Benchmarks ;-)

     Actually not, although we have thought about it.  getpid() itself is
a system call, even though it could just use the PRDA.  Note, however, that
IRIX processes which do not use the usema stuff generally do not have the
PRDA mapped, since we wanted to avoid allocating an extra page per process
for processes which do not use it.

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