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

Re: Program header proposal



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