login
Header Space

 
 

Re: demand-loding etc

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <Linux-activists@...>
Date: Sunday, November 17, 1991 - 11:47 pm

>  The right way to do this is to add an floating-point emulator in

Did you mean implementing a 387/487 emulator, or something specific for
the gcc soft-float routines?  I was wondering what sort of speed hit you
would take (in either case) if each floating point operation required a
trap to the kernel.  That's why my previous suggestion had suggested
mapping certain pages into the processes address space, so that the
calling the FP routines wouldn't require a context switch.

I was thinking, however, that another, possibly more elegant solution
would be to assign shared libraries (including the FP routines) to a
segment which would be visible to all processes.  Then all the stub
routines would need to do is to do a far call to a predefined segment.
What do people think?

						- Ted

P.S.  Having the kernel emulating 387 instructions would still be neat;
I was just wondering if it would be too slow for normal operations.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
demand paging: proposal, Peter MacDonald, (Sat Nov 16, 8:28 pm)
Re: demand-loading, paging, Johan Myreen, (Sat Nov 16, 2:09 pm)
Re: demand paging: proposal, Theodore Ts'o, (Sat Nov 16, 11:47 pm)
demand-loding etc, Linus Benedict Torvalds, (Sun Nov 17, 6:36 am)
Re: demand-loding etc, Bruce Evans, (Mon Nov 18, 2:09 am)
Re: demand-loding etc, Theodore Ts'o, (Sun Nov 17, 11:47 pm)
anwering as best I can, Linus Benedict Torvalds, (Mon Nov 18, 7:57 am)
speck-geostationary