From: Andrew Cooper <andrew.cooper3@citrix.com>
To: David Vrabel <david.vrabel@citrix.com>,
Ben Catterall <Ben.Catterall@citrix.com>,
xen-devel@lists.xenproject.org
Cc: keir@xen.org, ian.campbell@citrix.com,
George Dunlap <george.dunlap@eu.citrix.com>,
tim@xen.org, ian.jackson@eu.citrix.com,
stefano.stabellini@citrix.com, jbeulich@suse.com
Subject: Re: [PATCH 2/3] xen/domain_page: Convert copy/clear_domain_page() to using mfn_t
Date: Wed, 1 Jul 2015 17:09:25 +0100 [thread overview]
Message-ID: <559410B5.4070201@citrix.com> (raw)
In-Reply-To: <55941029.3050804@citrix.com>
On 01/07/15 17:07, David Vrabel wrote:
> On 01/07/15 14:57, Andrew Cooper wrote:
>> On 01/07/15 14:41, Ben Catterall wrote:
>>> From: Andrew Cooper <andrew.cooper3@citrix.com>
>>>
>>> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
>>> [Convert grant_table.c to pass mfn_t types and fix ARM compiling]
>>>
>>> Signed-off-by: Ben Catterall <Ben.Catterall@citrix.com>
>> Reviwed-by: Andrew Cooper <andrew.cooper3@citrix.com> for the additions
>> beyond my half of the patch.
>>
>> Also CC'ing George and David as maintainers of areas touched.
> For this sort of tree-wide mechanical change I wouldn't generally
> expected to need acks/reviews from specific subsystem maintainers.
Fair enough.
>>> --- a/xen/common/kimage.c
>>> +++ b/xen/common/kimage.c
>>> @@ -77,7 +77,7 @@ static struct page_info *kimage_alloc_zeroed_page(unsigned memflags)
>>> if ( !page )
>>> return NULL;
>>>
>>> - clear_domain_page(page_to_mfn(page));
>>> + clear_domain_page(_mfn(page_to_mfn(page)));
> Seems odd that page_to_mfn() doesn't return the correct type and needs
> the "cast".
page_to_mfn() and all the other similar helpers are also on the list of
stuff needing cleaning up. The intermediate _mfn() call will eventually
disappear, but updating everything together is massive task.
~Andrew
next prev parent reply other threads:[~2015-07-01 16:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-01 13:41 [PATCH 0/3] Ben Catterall
2015-07-01 13:41 ` [PATCH 1/3] xen/domain_page: Convert map_domain_page_global() to using mfn_t Ben Catterall
2015-07-01 13:53 ` Andrew Cooper
2015-07-01 13:41 ` [PATCH 2/3] xen/domain_page: Convert copy/clear_domain_page() " Ben Catterall
2015-07-01 13:57 ` Andrew Cooper
2015-07-01 16:07 ` David Vrabel
2015-07-01 16:09 ` Andrew Cooper [this message]
2015-07-01 13:41 ` [PATCH 3/3] Convert map_domain_page() to use the new mfn_t type Ben Catterall
2015-07-01 16:22 ` Andrew Cooper
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=559410B5.4070201@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=Ben.Catterall@citrix.com \
--cc=david.vrabel@citrix.com \
--cc=george.dunlap@eu.citrix.com \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=jbeulich@suse.com \
--cc=keir@xen.org \
--cc=stefano.stabellini@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.