Re: 2G+ sysv shm segments

From: Jung-uk Kim <jkim_at_FreeBSD.org>
Date: Tue, 16 Oct 2007 15:55:07 -0400
On Monday 15 October 2007 10:17 am, Igor Sysoev wrote:
> 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

Actually there is a PR:

http://www.freebsd.org/cgi/query-pr.cgi?pr=113218

Unfortunately it breaks ABI because it increases sizeof(struct 
shmid_ds).  Since the tree is unfrozen, I can commit it, though. ;-)

Jung-uk Kim

[Note: Peter, thanks for the casting suggestion.]
Received on Tue Oct 16 2007 - 17:55:17 UTC

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