2G+ sysv shm segments

From: Igor Sysoev <is_at_rambler-co.ru>
Date: Mon, 15 Oct 2007 18:17:14 +0400
Two years ago Christian S.J. Peron had increased total number of SysV shm
pages on 64-bit platform, that allows to create many shm segments more than 2G
in sum. However, the patch does not allow to create a single large segment
more than 2G. The attached patches against 6.x and 7.x allow to create 2G+
segments. I know that stock 6.x will not have this feature because of
compatibility, but I send 6.x patch too because someone may want to use
2G+ shm on 6.x.

To install:

patch -d < /usr < big_sysvshmX.txt

[ rebuild kernel ]

cd /usr/src/include/
make obj
make
make install

cd /usr/src/usr.bin/ipcs/
make obj
make
make install


-- 
Igor Sysoev
http://sysoev.ru/en/

Received on Mon Oct 15 2007 - 12:17:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:19 UTC