lkml.org 
[lkml]   [1997]   [Jan]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Ick: Setting shared memory segment size (fwd)
Date
Forwarded message:

[about setting max shared mem size ]

> The author continues with Solaris settings suggesting that the
> share memory maximum can be changed in an /etc/system configuration
> file.
>
> You still need to reboot the machine for this to take effect. But I
> agree it should be a /proc tunable if possible.

Just out of curisoity (no I cant spell), what forces there to be a limit
on max shared mem sizes in the first place. I *THINK* that 2 processes
can mmap() a file with MAP_SHARED and get any size of shared memory region
that they want. If this is true, what is different about the shm*
functions?

Thanks,

Jim

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.021 / U:1.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site