[ProgClub list] Memory management in C
asher.glynn at gmail.com
Sun Oct 2 06:50:36 AEDT 2011
> Which I don't entirely understand. It seems to be saying that the first
>>> four parameters are passed in particular registers (depending on their
>>> and type). Does this mean 'always'? Do all compilers have to know about
>>> and generate code accordingly?
>> They'll have to know about it if they want to be compatible with each
>> One of the exercises (before I dropped it) in Operating Systems at UNSW
>> rewriting an RPC mechanism in a microkernel to pass on register rather
>> in main memory.
> I don't understand how it's "RPC" if the parameters are being passed in
> RPC in this case was "remote" in the sense of "not in process". The
particular microkernel was MACH I think.
> I guess what you were doing was changing from "RPC" to in-proc. Presumably
> for performance reasons.
Not modifying to in-proc. But definitely for performance reasons.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the list