From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 24 Feb 2000 16:03:35 +0100 (MET) From: Richard Guenther Subject: Re: mmap/munmap semantics In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: kernel@kvack.org Cc: Richard Guenther , "Stephen C. Tweedie" , Jamie Lokier , Linux Kernel List , glame-devel@lists.sourceforge.net, Linux-MM List-ID: On Thu, 24 Feb 2000 kernel@kvack.org wrote: > On Thu, 24 Feb 2000, Richard Guenther wrote: > > > Cool, too. So for now we will stay with zeroing by reading from /dev/zero > > which does vm tricks in linux already. > > It does not do tricks when you are dealing with a shared mapping. Oops, so I misread the code in drivers/char/mem.c ... well, so how can I get the same effect as for the private mapping? Not at the moment, I think? So memset should be faster than reading from /dev/zero? Richard. -- 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/