[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] [RFT] Shared /dev/zero mmaping feature




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/