From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 8 Mar 2000 10:48:21 -0800 (PST) From: Linus Torvalds Subject: Re: [RFC] [RFT] Shared /dev/zero mmaping feature 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: Christoph Rohland Cc: Kanoj Sarcar , "Stephen C. Tweedie" , linux-mm@kvack.org, Ingo Molnar List-ID: On 8 Mar 2000, Christoph Rohland wrote: > > Because I think the current shm code should be redone in a way that > shared anonymous pages live in the swap cache. You could say the shm > code is a workaround :-) Note that this is true of both shm AND /dev/zero. Whether it is done in the current really clunky manner (ugly special shm tables) or in the RightWay(tm) (page cache), shm and /dev/zero should always basically be the same. The only difference between shm and /dev/zero is how you access and set up mappings, not how the actual mapping then works. Linus -- 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/