Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 1999 09:42:16 -0800
From:      David Greenman <dg@root.com>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        dillon@apollo.backplane.com, kuku@gilberto.physik.RWTH-Aachen.DE, hackers@FreeBSD.ORG
Subject:   Re: portability of shm, mmap, pipes and socket IPC 
Message-ID:  <199902101742.JAA17281@implode.root.com>
In-Reply-To: Your message of "Wed, 10 Feb 1999 17:24:00 GMT." <199902101724.KAA13526@usr07.primenet.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>> >:The overall size of the shared memory segment is limited to that
>> >:	which can fit in the kernels virtual address space; this
>> >:	artificially restricts the maximum size.
>> 
>>    That isn't true and hasn't been true for several years in FreeBSD.
>
>Are you sure?

   Yes, I'm quite sure.

>>From my reading of sysv_shm.c:
>
>	shmmap_s = malloc(size, M_SHM, M_WAITOK);
>
>seems to limit the size to what's allocable in the KVA.

   The above malloc allocates space for a struct shmmap_state. RTSL.

-DG

David Greenman
Co-founder/Principal Architect, The FreeBSD Project

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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