Hi,
On Tue, 13 Apr 1999 23:07:56 +0100, Vincent Diepeveen <[EMAIL PROTECTED]>
said:
> MAP_ANON|MAP_SHARED is not supported by that kernel 2.0.something that is
> in redhat 5.1
Correct.
> I wonder whether new kernels > 2.2.x support this MMAP option,
> because i can allocate 2 times more memory then than i do now, and
> don't need to swap that whole file into memory then.
Unfortunately not, although it is planned for 2.3. The major
stumbling block is that anon shared maps will require a subtle change
in the VM which is a bit too dangerous to introduce into the stable
kernel series. We got most of the hard work done in 2.1, but there's
a little left to do.
> Note that the shmget function doesn't work either for me.
> This function supports maximum of 4 megabytes shared memory,
> which is around 100 times less than i need.
On 2.2 the default limit is 32MB, and is adjustable via
/proc/sys/kernel/shmmax.
Cheers,
Stephen.
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]