From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262182AbTJFPGz (ORCPT ); Mon, 6 Oct 2003 11:06:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262232AbTJFPGz (ORCPT ); Mon, 6 Oct 2003 11:06:55 -0400 Received: from zcars04f.nortelnetworks.com ([47.129.242.57]:61150 "EHLO zcars04f.nortelnetworks.com") by vger.kernel.org with ESMTP id S262182AbTJFPGy (ORCPT ); Mon, 6 Oct 2003 11:06:54 -0400 Message-ID: <3F818505.3010801@nortelnetworks.com> Date: Mon, 06 Oct 2003 11:06:45 -0400 X-Sybari-Space: 00000000 00000000 00000000 00000000 From: Chris Friesen User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204 X-Accept-Language: en-us MIME-Version: 1.0 To: Tushar Telichari Cc: Linux Kernel Mailing List Subject: Re: Shared memory problem References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Tushar Telichari wrote: > Hi, > > I have a process which requires about 1G of shared memory. > There are multiple processes which are going to share this. > I am able to allocate this by setting shmmax..etc. Your other option would be to create it as a file in the filesystem and then mmap it. If you create a tmpfs filesystem and then mmap a file on it there will be no real file on disk. If you create it on disk and mmap it, then you have the option of persistant storage is that is desirable. Chris -- Chris Friesen | MailStop: 043/33/F10 Nortel Networks | work: (613) 765-0557 3500 Carling Avenue | fax: (613) 765-2986 Nepean, ON K2H 8E9 Canada | email: cfriesen@nortelnetworks.com