Linked by vermaden on Sun 1st May 2011 21:57 UTC
OpenBSD OpenBSD 4.9 release is ready, now with enabled NTFS by default (read-only), SMP kernels can now boot on machines with up to 64 cores, maximum allocation size for i386 bumped to 2G, added support for AES-NI instructions found in recent Intel processors, further improvements in suspend and resume and much more.
Thread beginning with comment 471565
To read all comments associated with this story, please click here.
2G limit?
by metalf8801 on Mon 2nd May 2011 19:48 UTC
Member since:

Can someone please explain what they mean by "maximum allocation size for i386 bumped to 2G" Size limit for what RAM, Partition, Virtual Hard drive, or something else? Why is there a limit?

Thank you I just want to make sure I fully understand

Reply Score: 1

RE: 2G limit?
by bogomipz on Mon 2nd May 2011 20:49 in reply to "2G limit? "
bogomipz Member since:

The detailed changelog mentions MAXDSIZ. Google reveils this to be the limit of how big each process can grow its data segment, which includes among other things memory allocated by malloc().

It seems HP-UX and the BSDs all have this kernel parameter. Why? To protect the system from buggy programs, I guess.

Reply Parent Score: 2

RE[2]: 2G limit?
by brynet on Mon 2nd May 2011 21:31 in reply to "RE: 2G limit? "
brynet Member since:

Indeed, on i386 the virtual address space is 4GB, but it gets fragmented by various security techniques like W^X (..NX bit simulation) which had to be implemented using segmentation tricks.

This change at least allows a process to use a little more memory, although login.conf still need to be tweaked for that.

Reply Parent Score: 2