Re: 2G+ sysv shm segments

2007-10-17 Thread Peter Jeremy
On 2007-Oct-16 23:53:43 +0400, Igor Sysoev [EMAIL PROTECTED] wrote: printf( %12lu, (unsigned long)kshmptr-u.shm_segsz); or similar. Here should be %zu. You're correct. I wasn't aware of 'z' :-( However, this patch can not be commited even to 7/8, because it does not preserve binary

Re: 2G+ sysv shm segments

2007-10-16 Thread Peter Jeremy
On 2007-Oct-15 18:17:14 +0400, Igor Sysoev [EMAIL PROTECTED] wrote: more than 2G. The attached patches against 6.x and 7.x allow to create 2G+ segments. Useful, thanks. --- src/sys/sys/shm.h 2007-09-12 23:33:39.0 +0400 +++ src/sys/sys/shm.h 2007-10-15 17:42:38.0 +0400 @@ -77,7

Re: 2G+ sysv shm segments

2007-10-16 Thread Igor Sysoev
On Wed, Oct 17, 2007 at 05:38:43AM +1000, Peter Jeremy wrote: On 2007-Oct-15 18:17:14 +0400, Igor Sysoev [EMAIL PROTECTED] wrote: more than 2G. The attached patches against 6.x and 7.x allow to create 2G+ segments. Useful, thanks. --- src/sys/sys/shm.h2007-09-12

Re: 2G+ sysv shm segments

2007-10-16 Thread Jung-uk Kim
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+ sysv shm segments

2007-10-15 Thread Igor Sysoev
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