Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2007 15:55:07 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        freebsd-current@FreeBSD.org
Cc:        Peter Jeremy <peterjeremy@optushome.com.au>, freebsd-stable@FreeBSD.org
Subject:   Re: 2G+ sysv shm segments
Message-ID:  <200710161555.12384.jkim@FreeBSD.org>
In-Reply-To: <20071015141714.GL24828@rambler-co.ru>
References:  <20071015141714.GL24828@rambler-co.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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.]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710161555.12384.jkim>