From: John Reiser <jreiser@BitWagon.com>
To: Ingo Oeser <ioe-lkml@rameria.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: control placement of vDSO page
Date: Mon, 12 Dec 2005 12:58:48 -0800 [thread overview]
Message-ID: <439DE488.7040703@BitWagon.com> (raw)
In-Reply-To: <200512122039.29799.ioe-lkml@rameria.de>
Ingo Oeser wrote:
> On Monday 12 December 2005 16:29, John Reiser wrote:
>
>>Possible solution: a new system call move_vdso(old_addr, new_addr, flags).
>>Check that current vDSO was at old_addr, else error. Change vDSO page
>>under control of flags like in mmap(): new_addr is hint (place to start
>>search) or required address if MAP_FIXED. Return value is new vDSO address.
>>
>
>
> What about special casing the vDSO page in mremap() ?
Hmmm... Where can the new address [hint] be given in the call to
mremap(old_address, old_size, new_size, flags) ?
Also: probably the size is constant, perhaps even unknown to the user.
It would be nice if the old page need not exist (could have been
mmap()ed over) at the time of the move, although the proposed
move_vdso() does ask for what the old_addr used to be, as a check
on validity.
--
John Reiser, jreiser@BitWagon.com
prev parent reply other threads:[~2005-12-12 20:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-12 15:29 control placement of vDSO page John Reiser
2005-12-12 19:39 ` Ingo Oeser
2005-12-12 20:58 ` John Reiser [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=439DE488.7040703@BitWagon.com \
--to=jreiser@bitwagon.com \
--cc=ioe-lkml@rameria.de \
--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