Messages in this thread | | | Date | Mon, 8 Nov 2004 19:05:55 -0800 | From | William Lee Irwin III <> | Subject | Re: VMM: syscall for reordering pages in vm |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |