Re: VMM: syscall for reordering pages in vm

From: William Lee Irwin III
Date: Mon Nov 08 2004 - 22:08:05 EST


Arjan van de Ven schrieb:
>> eh isn't this already possible with mmap and mremap ?

On Mon, Nov 08, 2004 at 01:27:10PM +0100, Willibald Krenn wrote:
> If I'm not mistaken: You can not tell mmap and mremap to explicitely
> exchange two pages. (Mremap resizes an existing memory mapping.)
> Perhaps I did not explain my idea good enough: I want something along
> the lines "Current memory contents in page starting at address X move to
> address Y and the contents of the page starting at address Y shall be
> found at address X in future".

You're thinking of POSIX mremap(2); Linux' actual mremap() ABI allows
relocation of pages within a process address space, though only to
previously unoccupied locations, not direct exchange.


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