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

Re: [Xen-devel] [PATCH for-next 7/8] x86/domain: move PV specific code to pv/domain.c



>>> On 24.04.17 at 16:24, <wei.liu2@xxxxxxxxxx> wrote:
> On Mon, Apr 24, 2017 at 06:39:38AM -0600, Jan Beulich wrote:
>> >>> On 10.04.17 at 15:27, <wei.liu2@xxxxxxxxxx> wrote:
>> > Move all the PV specific code along with the supporting code to
>> > pv/domain.c.
>> 
>> Had you done this series in a different order, or had the earlier
>> patches moved their broken out functions right away, this patch
>> would have been quite a bit smaller. Anyways, it looks to be pure
> 
> It is just trading one kind of code churn for another. For example,
> free_compact_l4 is used by several PV functions. Should I choose to move
> those PV functions (pv_vcpu_initialise and _destroy) as I go along I
> will then need to export these static helper functions while I am doing
> it then unexport them when I am finished.

Ah, true.

> I am not too fuss either way in this particular series. I am inclined to
> move everything in one or more patches when the refactoring is done. But
> please let me know if you feel strongly about how it should be done.

As long as there are reasons behind how things are done, I don't
think my personal taste matters all that much.

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®.