[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Program header proposal
- To: Julian Reschke-FJR010 <mint@atari.archive.umich.edu>
- Subject: Re: Program header proposal
- From: chu@platinum.com (Howard Chu)
- Date: Wed, 22 Oct 97 14:41:26 -0800
- In-reply-to: (Your message of Wed, 22 Oct 97 14:36:16 EST.) <"Macintosh.*/PRMD=MOT/ADMD=MOT/C=US/"@MHS>
Sounds good to me.
Hi,
Andreas Kromke (MagiC) made a proposal which requires the allocation of a
new status bit in the program header:
Currently the kernel has to allocate the largest (or "a large") memory block
when starting a new process. However, in most cases, the startup code will
immediately shrink it to sizeof (basepage) + sizeof (text segment) + sizeof
(data segment) + sizeof (bss).
The idea is to mark these programs, to that the kernel can move the new code
into any memory block which is big enough for the individiual program
segments. This would also allow the kernel to reduce memory fragmentation by
having better chances to reuse smaller blocks.
Regards, jr