[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Program header proposal

Julian Reschke-FJR010 <Julian_Reschke-FJR010@email.mot.com> writes:

|> 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).

Actually, in most cases (eg. MiNTlibs) this figure includes sizeof (stack),
which is impossible for the kernel to guess reliably.

Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"