Re: [test patch] dirty shared mappings (was Re: ... fragmentation)

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 8 Jan 1998 00:15:46 +0000 (GMT)


> No, they don't all have to be clean, it's just that we'd have to have some
> way of allocating pages for the inode for backing store (so that we can do
> a page-out() to the right location). Essentially, the page area moves from
> being just a anonymous linear area of pages for swap into having some
> structure, which is obviously painful. I think it's probably the right
> thing to do, but I don't really have a good idea on _how_ to do it..

Is there any reason you can't simply invent a device with an mmap method
to attach an inode too for anonymous maps so that they cease to be anonymous ?

Alan