Re: Patch (repost): cramfs memory corruption fix

Christoph Rohland (cr@sap.com)
08 Jan 2001 15:43:19 +0100


Hi Christoph,

On Mon, 8 Jan 2001, Christoph Hellwig wrote:
> I had a prototype tmpfs in -test10 (ro so) times. It based on ramfs
> for all the metadata stuff and used the (old) shmfs code for
> swap-backed data. The only real problem the code had, was that it
> needed a ->allocpage address_space method in place of
> page_cache_alloc() to directly swap-in pages in ->read. IF anyone
> is interested I could forward port it to 2.4.0 and the new shmfs.

Be aware that there is nothing left from the old shm memory/swap
handling in 2.4.0. It is a copy of ramfs plus additions for swap and
resource limits

If you would be willing to add the read and write functions to the new
coding I would be very happy.

Greetings
Christoph

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/