Re: Point of brk()?

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

 



Only if stack and heap did not grow in opposite direction. Only if you
did not care for shared libraries memory usage.

On Tue, Oct 5, 2010 at 5:30 PM, javad karabi <snkcld1@xxxxxxxxx> wrote:
> What is the point of having an adjustable end to the "data segment"/heap?
>
> Why not just give a process all of the available memory, I.e. set the
> end_of_data variable to the highest possible value, then let paging do the
> rest?
>
> Much love for kernel newbies!



-- 
Shailesh Jain

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux