From: Keir Fraser <keir.xen@gmail.com>
To: Jan Beulich <JBeulich@suse.com>,
xen-devel <xen-devel@lists.xenproject.org>
Cc: Tim Deegan <tim@xen.org>, Keir Fraser <keir@xen.org>,
Ian Campbell <ian.campbell@citrix.com>,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: [PATCH 0/4] fix preemption handling for XENMEM_add_to_physmap_range{, _range}
Date: Wed, 18 Dec 2013 17:15:59 +0000 [thread overview]
Message-ID: <CED788CF.463D9%keir.xen@gmail.com> (raw)
In-Reply-To: <52B1BF76020000780010EC02@nat28.tlf.novell.com>
On 18/12/2013 14:29, "Jan Beulich" <JBeulich@suse.com> wrote:
> The hypervisor isn't supposed to use the input structures for
> storing continuation information - only fields explicitly used as
> hypercall outputs should ever be updated.
>
> Obviously this implies an ABI change, but since the previous
> behavior was not intended to be that way I don't think we should
> stick to the old behavior.
>
> There's one caveat though - with the previous model, the caller
> could - upon failure - use the updated structure to find out how
> by progress was made. However, that wasn't intended afaict,
> largely supported by this information depending on hypervisor
> internals (i.e. the caller would have to know the order of request
> processing and the meaning of the respective size fields, which
> aren't simply saying "this much was processed").
>
> Consequently, as a follow-up we may want to consider making
> explicit (and straight forward) this progress indication on error.
>
> 1: move XENMEM_add_to_physmap handling framework to common code
> 2: fix XENMEM_add_to_physmap preemption handling
> 3: move XENMEM_add_to_physmap_range handling framework to common code
> 4: fix XENMEM_add_to_physmap_range preemption handling
>
> Signed-off-by: Jan Beulich <jbeulich@suse.com>
Nice to have this fixed!
Acked-by: Keir Fraser <keir@xen.org>
next prev parent reply other threads:[~2013-12-18 17:16 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-18 14:29 [PATCH 0/4] fix preemption handling for XENMEM_add_to_physmap_range{, _range} Jan Beulich
2013-12-18 14:34 ` [PATCH 1/4] move XENMEM_add_to_physmap handling framework to common code Jan Beulich
2013-12-18 17:52 ` Ian Campbell
2013-12-20 7:48 ` Jan Beulich
2013-12-20 8:58 ` Ian Campbell
2013-12-20 9:12 ` Jan Beulich
2013-12-20 9:55 ` Ian Campbell
2013-12-18 14:35 ` [PATCH 2/4] fix XENMEM_add_to_physmap preemption handling Jan Beulich
2013-12-18 15:48 ` Tim Deegan
2013-12-18 16:03 ` Jan Beulich
2013-12-18 16:04 ` Tim Deegan
2013-12-18 17:59 ` Ian Campbell
2013-12-20 7:52 ` Jan Beulich
2013-12-20 9:02 ` Ian Campbell
2013-12-20 9:16 ` Jan Beulich
2013-12-18 14:35 ` [PATCH 3/4] move XENMEM_add_to_physmap_range handling framework to common code Jan Beulich
2013-12-18 15:59 ` Tim Deegan
2013-12-18 16:08 ` Jan Beulich
2013-12-18 16:14 ` Tim Deegan
2013-12-19 10:48 ` Ian Campbell
2013-12-20 7:58 ` Jan Beulich
2013-12-20 9:09 ` Ian Campbell
2013-12-20 9:27 ` Jan Beulich
2013-12-18 14:36 ` [PATCH 4/4] fix XENMEM_add_to_physmap_range preemption handling Jan Beulich
2013-12-18 14:43 ` [PATCH 0/4] fix preemption handling for XENMEM_add_to_physmap_range{, _range} Ian Campbell
2013-12-18 15:04 ` Jan Beulich
2013-12-18 17:15 ` Keir Fraser [this message]
2013-12-20 8:22 ` [PATCH v2 " Jan Beulich
2013-12-20 8:28 ` [PATCH v2 1/4] move XENMEM_add_to_physmap handling framework to common code Jan Beulich
2013-12-20 8:29 ` [PATCH v2 2/4] fix XENMEM_add_to_physmap preemption handling Jan Beulich
2013-12-20 8:29 ` [PATCH v2 3/4] move XENMEM_add_to_physmap_range handling framework to common code Jan Beulich
2013-12-20 8:30 ` [PATCH v2 4/4] fix XENMEM_add_to_physmap_range preemption handling Jan Beulich
2013-12-20 10:35 ` [PATCH v3 0/5] fix preemption handling for XENMEM_add_to_physmap_range{, _range} Jan Beulich
2013-12-20 10:41 ` [PATCH v3 1/5] move XENMEM_add_to_physmap handling framework to common code Jan Beulich
2013-12-20 10:45 ` Ian Campbell
2013-12-20 12:26 ` Andrew Cooper
2013-12-20 12:45 ` Jan Beulich
2013-12-20 10:42 ` [PATCH v3 2/5] fix XENMEM_add_to_physmap preemption handling Jan Beulich
2013-12-20 10:47 ` Ian Campbell
2013-12-20 10:42 ` [PATCH v3 3/5] move XENMEM_add_to_physmap_range handling framework to common code Jan Beulich
2013-12-20 10:51 ` Ian Campbell
2013-12-20 10:43 ` [PATCH v3 4/5] fix XENMEM_add_to_physmap_range preemption handling Jan Beulich
2013-12-20 10:53 ` Ian Campbell
2013-12-20 10:44 ` [PATCH v3 5/5] rename XENMEM_add_to_physmap_{range => batch} Jan Beulich
2013-12-20 10:55 ` Ian Campbell
2013-12-20 12:05 ` Jan Beulich
2013-12-20 12:09 ` Ian Campbell
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=CED788CF.463D9%keir.xen@gmail.com \
--to=keir.xen@gmail.com \
--cc=JBeulich@suse.com \
--cc=ian.campbell@citrix.com \
--cc=keir@xen.org \
--cc=stefano.stabellini@eu.citrix.com \
--cc=tim@xen.org \
--cc=xen-devel@lists.xenproject.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 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.