On Thu, 19 Apr 2001, David Schleef wrote:
>
> On Thu, Apr 19, 2001 at 05:41:27PM -0700, Basham, Richard R wrote:
> > Hello all,
> >
> > I am trying to use mbuff to allocate several named shared memory buffers from a
>kernel module. I have 1 G of memory but I can't seem to allocate more than somewhere
>just below 64 M of named shared memory from a kernel module. If I use malloc from
>user space I can allocate nearly all of the 1 G. It appears that this has something
>to do with a kernel limit. Has anyone come across this? Have you found a way around
>the limit?
> >
>
>
> Hmmm... I thought the minimum reserved for vmalloc was 128 MB.
>
......
I think Richard hit a _shared_ memory limit (cat /proc/sys/kernel/shmax).
One can increase it by doing something like (as root):
echo 256000000 > /proc/sys/kernel/shmmax
But may be I am confused miself...
Sincerely,
Dmitri.
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/