[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Program header proposal
- To: Julian Reschke-FJR010 <email@example.com>
- Subject: Re: Program header proposal
- From: firstname.lastname@example.org (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.
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.