wolf@grasp1.univ-lyon1.fr (Christophe Wolfhugel) (06/07/91)
When the same memory segment is given more than once to the same pid,
is there a counter incremented so that as many DosFreeSeg are
necessary as there were DosGiveSeg?
Are DosGiveSeg/DosGetSeg/DosFreeSeg as much time consuming on the
first operation for a given {selector,pid} or is it much faster after
(just the cycles to increment the counters, if any?).
In my portion of code, there are 3 sequential DosGiveSeg to a given
pid, and in 99% of the cases it's the same segment that is given (but
in the 1% I really have 3 different selectors). Do I have interest in
testing if all 3 GiveSeg (and their respective Get/Free) should be
executed or is it OK to call the Dos Calls each time?
Regards,
--
Christophe Wolfhugel | Email: wolf@grasp1.univ-lyon1.fr
INSA - Dpt Informatique | "Le progres ne vaut que s'il est partage par tous,"
Lyon, France | "les greves aussi. Hassan Cehef: c'est penible!"