From: volker@openbios.org (Volker Poplawski)
To: kernelnewbies@lists.kernelnewbies.org
Subject: mmap to fixed adr
Date: Sun, 19 Jun 2011 14:02:49 +0200 [thread overview]
Message-ID: <4DFDE569.9060105@openbios.org> (raw)
Hi,
is there a VA range in userspace which is always safe for mmap() with
fixed adr? (x86_64 mostly)
I.e. a VA range where mmap() or ld will never map memory.
I know I can try particular fixed adr with mmap() and check if the
mapping succeeds. However this is not what I want. I want mmap() to stay
clear of certain ranges and map memory there myself.
Regards
.....Volker
next reply other threads:[~2011-06-19 12:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-19 12:02 Volker Poplawski [this message]
2011-06-19 15:14 ` mmap to fixed adr Mulyadi Santosa
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=4DFDE569.9060105@openbios.org \
--to=volker@openbios.org \
--cc=kernelnewbies@lists.kernelnewbies.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;
as well as URLs for NNTP newsgroup(s).