xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Oleksandr Andrushchenko <andr2000@gmail.com>
To: Xen-devel <xen-devel@lists.xen.org>
Subject: __vmap multiple times same mfn
Date: Tue, 28 Feb 2017 21:50:26 +0200	[thread overview]
Message-ID: <57fe6170-c11c-2496-4737-bd237a972dbf@gmail.com> (raw)

Hi, all!

I have a use-case when I may need to call __vmap for kernel provided 
IPAs (read MFNs)

which may not be PAGE_SIZE aligned etc.

The question is if it is safe to call __vmap multiple times for 
different IPAs

sharing the same page (mfn), e.g. map something like 6ca00 0080 and 
6ca00 00a0?

Thank you,

Oleksandr


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

             reply	other threads:[~2017-02-28 19:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-28 19:50 Oleksandr Andrushchenko [this message]
2017-02-28 20:51 ` __vmap multiple times same mfn Andrew Cooper
2017-03-01  5:39   ` Oleksandr Andrushchenko
2017-03-01  8:22     ` Jan Beulich
2017-03-01  8:25       ` Oleksandr Andrushchenko

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=57fe6170-c11c-2496-4737-bd237a972dbf@gmail.com \
    --to=andr2000@gmail.com \
    --cc=xen-devel@lists.xen.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).