[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH RFC V4 2/5] xen: Optimize introspection access to guest state
On 08/04/2014 05:16 PM, Jan Beulich wrote: >>>> On 04.08.14 at 13:30, <rcojocaru@xxxxxxxxxxxxxxx> wrote: >> Changes since V3: >> - Changed the name of VCPU variables referring to the current >> VCPU to "curr". >> - Renamed "mem_event_regs" to "x86_mem_event_regs" to make it >> explicit. > > That's a step in the right direction, but perhaps not enough. I realize > the whole header doesn't meet the requirements we nowadays put > on public ones, but let's at least not make it worse. I.e. in the case > at hand either out a xen_ prefix as the very first thing (making this > structure's name not match anything else in that header) or as a > compromise stay at least with the mem_event_ prefix, i.e. name it > mem_event_regs_x86. > > Furthermore as typedef-ed name with out _t suffix is kind of > unusual. I'm not sure if it was in the context of this series that > someone suggested that the _t collides with the C standard. If > that's really the case, and since you don't need a handle for the > type, please just avoid the typedef (and drop the _st suffix from > the structure tag at once). Indeed, it has been suggested here: http://lists.xenproject.org/archives/html/xen-devel/2014-07/msg01672.html I'll do the renaming. Thanks, Razvan Cojocaru _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |