[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] x86/hvm: switch some open-coded dpci access to use the provided macro



>>> On 22.03.17 at 13:49, <roger.pau@xxxxxxxxxx> wrote:
> On Tue, Mar 21, 2017 at 10:33:26AM -0600, Jan Beulich wrote:
>> >>> On 21.03.17 at 16:41, <roger.pau@xxxxxxxxxx> wrote:
>> > No functional change.
>> 
>> The reason it's done the original way is, I guess, that - other than
>> your title suggests - this is not a macro, and not even an inline
>> function. In cases where the two checks the function does aren't
>> needed, I think it is reasonable to avoid the call.
> 
> Right, seems like I got confused with another helper. Would you like me to 
> make
> that an inline function, or just leave it as-is?

With this ...

> The function includes an extra is_hvm_domain check, so I guess it's better to
> leave it as-is for those paths.

... I'm not really certain what meaning I should assign to
"leave it as is". As long as none of the places you patch
changed actively lack either of the two extra checks, I'd
prefer for the patch to simply be dropped.

Jan


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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.