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 471567
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: 2G limit?
by bogomipz on Mon 2nd May 2011 20:49 UTC in reply to "2G limit? "
bogomipz
Member since:
2005-07-11

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:
2010-03-02

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