From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: /dev/recycle References: <20000322233147.A31795@pcep-jamie.cern.ch> <20000324010031.B20140@pcep-jamie.cern.ch> <20000324141001.A21036@pcep-jamie.cern.ch> <20000324151708.A21237@pcep-jamie.cern.ch> <20000324191313.E21539@pcep-jamie.cern.ch> From: Christoph Rohland Date: 25 Mar 2000 09:35:01 +0100 In-Reply-To: Jamie Lokier's message of "Fri, 24 Mar 2000 19:13:13 +0100" Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-linux-mm@kvack.org Return-Path: To: Jamie Lokier Cc: Christoph Rohland , Chuck Lever , linux-mm@kvack.org List-ID: Jamie Lokier writes: > Christoph Rohland wrote: > > 1) /dev/{zero,recycle} shared mappings do only work between childs of > > the same parent and the parent. Also they do not survive an exec. > > Use file handle passing -- another process can then share the mapping. > This is what shared anonymous mapping means, and it was added to the > kernel recently just after posix shm (because posix shm made it easy to > implement). That's not how /dev/zero works. Check the implementation. AFAIK it also does not work this way on other platforms. > > 2) You cannot unmap and remap the same area. > > You can if someone else holds it open. See above. Greetings Christoph -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux.eu.org/Linux-MM/