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

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


> machine to be set up correctly that way by somebody (essentially it turns
> the anonymous shared mappings to a real shared mapping of a special
> "magic" object - which can be either a real file or a partition or
> something, but the point is that the "something" will have to be set up by
> the maintainer of the machine rather than being the global swap device).

That depends if the "magic" object is smart enough to interact directly
with the swap for its pages. It doesnt seem to be any different from the
way things like sound track the kenrel pages allocated and map them except
we need to track swap pages and remember which swap pages match our object

Being able to put clean pages from arbitary objects onto swap is a general
Linux problem that benefits NFS and CDROM too as you can use local disk to
back otherwise slow to retrieve NFS pages that are read only anyway.

Alan