public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: Willibald Krenn <Willibald.Krenn@gmx.at>
Cc: Arjan van de Ven <arjan@infradead.org>, linux-kernel@vger.kernel.org
Subject: Re: VMM:  syscall for reordering pages in vm
Date: Mon, 8 Nov 2004 19:05:55 -0800	[thread overview]
Message-ID: <20041109030555.GA2973@holomorphy.com> (raw)
In-Reply-To: <418F661E.6050601@gmx.at>

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

      reply	other threads:[~2004-11-09  3:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-08 10:51 VMM: syscall for reordering pages in vm Willibald Krenn
2004-11-08 12:04 ` Arjan van de Ven
2004-11-08 12:27   ` Willibald Krenn
2004-11-09  3:05     ` William Lee Irwin III [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041109030555.GA2973@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=Willibald.Krenn@gmx.at \
    --cc=arjan@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox