[EROS-Arch] Questioning need for Call Count
Jonathan S. Shapiro
Sat, 11 Nov 2000 14:06:57 -0500
> Is it correct to assume keyData in
> is the same as key info in
> http://www.eros-os.org/eros-src/sys/arch/i486/capstubs/return.S#161 ?
This is correct -- there was a term rotation at one point, and the
documentation never really caught up.
Process capabilities don't have key info fields. Start capabilities do.
That field is already used for other purposes, so the counter cannot go
there. In any case, a 16 bit counter wouldn't be (nearly) big enough.
The current "call count" is kept internally to the operating system, and
is optimized in a variety of ways.