From: Dan Magenheimer <dan.magenheimer@oracle.com>
To: Patrick Colp <pjcolp@cs.ubc.ca>,
Grzegorz Milos <grzegorz.milos@gmail.com>
Cc: "Xen-Devel (E-mail)" <xen-devel@lists.xensource.com>,
Tim Deegan <Tim.Deegan@citrix.com>,
George Dunlap <George.Dunlap@eu.citrix.com>,
"Bryan D. Payne" <bryan@thepaynes.cc>,
Andrew Peace <Andrew.Peace@eu.citrix.com>,
Steven Hand <Steven.Hand@eu.citrix.com>
Subject: RE: Re: mem-event interface
Date: Sun, 27 Jun 2010 20:12:47 -0700 (PDT) [thread overview]
Message-ID: <708efafe-0fea-43ec-ac02-a35babb8dbc3@default> (raw)
In-Reply-To: <AANLkTillp-tfN2doCCSG_v3twBjMIAyzxdBgHNnYfF0n@mail.gmail.com>
> From: Patrick Colp [mailto:pjcolp@cs.ubc.ca]
> Sent: Sunday, June 27, 2010 11:40 AM
> To: Grzegorz Milos
> Cc: Xen-Devel (E-mail); Tim Deegan; George Dunlap; Bryan D. Payne;
> Andrew Peace; Steven Hand
> Subject: Re: [Xen-devel] Re: mem-event interface
>
> On 27 June 2010 08:45, Grzegorz Milos <grzegorz.milos@gmail.com> wrote:
> >> I agree that multiple rings are a good idea here - especially if we
> want
> >> to disaggregate and have event handlers in multiple domains.
> >>
> >> Maybe the ring-registering interface could take a type and a
> rangeset -
> >> that would reduce the amount of extra chatter at the cost of some
> more
> >> overhead in Xen.
> >>
> >
> > Well, the trouble is what do units you express the ranges in. In pfns
> > belonging to a given guest, or in mfns? Either way memory sharing
> > would use <0 - max_{p,m}fn> rangeset most of the time. Similarly for
> > teh pager (I believe). Bryan, could you comment on XenAccess? I guess
> > rangesets would be useful there the most.
> >
> > I certainly agree that we will have to swallow some complexity in
> Xen,
> > to make the interface efficient. Some filters will have to live in
> > Xen, in order not to generate unnecessarily large rate of no-op
> > events.
>
> I suppose one way to handle the range is to specify the range in terms
> of full address (i.e. not pfn, so page 0xf would be specified as
> 0xf000). This way, we can specify the full range of memory (e.g.
> <0xf000, 0xf001> to watch the first byte of the page with pfn 0xf).
> However, it might be useful to have a flag that lets you specify if
> you mean pfns, mfns, or full address ranges (or something of the
> like). Xen should return some sort of unique identifier for each
> handler so that new ranges can easily be added/removed dynamically.
Probably a good idea to plan for page sizes different from 4K anyway.
I wouldn't be surprised if a 2M-pagesize-only Xen exists in the
not-too-distant future.
next prev parent reply other threads:[~2010-06-28 3:12 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <AANLkTinovEV47G8aIw-Na_iQhELjUG3R7VUlAzf1mD66@mail.gmail.com>
2010-06-23 22:19 ` mem-event interface Grzegorz Milos
2010-06-23 22:21 ` Grzegorz Milos
2010-06-23 22:21 ` Grzegorz Milos
2010-06-23 22:22 ` Grzegorz Milos
2010-06-23 22:22 ` Grzegorz Milos
2010-06-23 22:23 ` Grzegorz Milos
2010-06-23 22:23 ` Grzegorz Milos
2010-06-23 22:24 ` Grzegorz Milos
2010-06-23 22:24 ` Grzegorz Milos
2010-06-23 22:25 ` Grzegorz Milos
2010-06-23 22:25 ` Grzegorz Milos
2010-06-24 9:18 ` Tim Deegan
2010-06-27 15:45 ` Grzegorz Milos
2010-06-27 17:40 ` Patrick Colp
2010-06-28 3:12 ` Dan Magenheimer [this message]
2010-06-28 9:28 ` Tim Deegan
2010-06-23 23:12 ` Dan Magenheimer
2010-06-24 9:26 ` Tim Deegan
2010-06-24 11:09 ` George Dunlap
2010-06-27 15:30 ` Grzegorz Milos
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=708efafe-0fea-43ec-ac02-a35babb8dbc3@default \
--to=dan.magenheimer@oracle.com \
--cc=Andrew.Peace@eu.citrix.com \
--cc=George.Dunlap@eu.citrix.com \
--cc=Steven.Hand@eu.citrix.com \
--cc=Tim.Deegan@citrix.com \
--cc=bryan@thepaynes.cc \
--cc=grzegorz.milos@gmail.com \
--cc=pjcolp@cs.ubc.ca \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.