whay can't processes shrink as well as grow?
Dmitry V. Volodin
dvv at hq.demos.su
Thu Oct 11 19:27:21 AEST 1990
In article <PCG.90Oct10212600 at odin.cs.aber.ac.uk> pcg at cs.aber.ac.uk (Piercarlo Grandi) writes:
>Now there is a catch: even if your storage reclaimer detectes that a
>block of memory just under the break has become free, and lowers the
>break as a result, in many UNIX kernels this regrettably will not
>release any pages to the kernel mmeory pool -- in some it will not even
>invalidate page table entries beyond the break. This is probably because
More of that - in some paging evnvironments brk() is a dummy! When
the process addresses memory beyond the brk level the kernel just adds
another one page to porcess's memory pool.
--
Dmitry V. Volodin <dvv at hq.demos.su> |
fax: +7 095 233 5016 | Call me Dima (D-'ee-...)
phone: +7 095 231 2129 |
More information about the Comp.unix.internals
mailing list