lkml.org 
[lkml]   [2004]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.020 / U:0.728 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site