Pete Zaitcev wrote: >I am trying to unmap the prefix page, if I do so the get_current >has to be modified.
Er, it would seem that if you unmap the prefix page, get_current would be the least of your problems ;-( What about all the other uses of the lowcore (including those demanded by the architecture like retrieving the program-interruption condition etc.)? Again, I fail to see what benefit this is supposed to bring ... >Obvious option is to store current in a global; >then an access to it would require some cycles to load the pointer >from a global table then reference said pointer. Actually, a global >may be advantageous because it does not need to be preloaded on >every kernel entry. It's not that significant probably, but still. >Just thought I'd explore. And how do you indend to make this per-cpu? >I did not notice that control registers cannot be loaded from >memory. They can be loaded from memory, in fact they can be loaded *only* from memory. >Also, some people think that access registers are 16 >bits wide (my copy of PoO lists them as 32 bits wide). Then it would appear that some people are wrong and the PoP is right ;-) Bye, Ulrich -- Dr. Ulrich Weigand [EMAIL PROTECTED]
