[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 05/10] xen: credit2: tidy up functions names by removing leading '__'.
On Wed, 2017-02-15 at 13:57 +0000, George Dunlap wrote: > On Thu, Feb 9, 2017 at 1:58 PM, Dario Faggioli > <dario.faggioli@xxxxxxxxxx> wrote: > > > > Signed-off-by: Dario Faggioli <dario.faggioli@xxxxxxxxxx> > > Acked-by: George Dunlap <george.dunlap@xxxxxxxxxx> > Thanks. > With one comment... > > > diff --git a/xen/common/sched_credit2.c > > b/xen/common/sched_credit2.c > > index 786dcca..4b4f4f8 100644 > > --- a/xen/common/sched_credit2.c > > +++ b/xen/common/sched_credit2.c > > @@ -594,14 +594,12 @@ static s_time_t c2t(struct > > csched2_runqueue_data *rqd, s_time_t credit, struct c > > * Runqueue related code > > */ > > > > -static /*inline*/ int > > -__vcpu_on_runq(struct csched2_vcpu *svc) > > +static inline int vcpu_on_runq(struct csched2_vcpu *svc) > > { > > return !list_empty(&svc->runq_elem); > > } > > > > -static /*inline*/ struct csched2_vcpu * > > -__runq_elem(struct list_head *elem) > > +static struct csched2_vcpu * runq_elem(struct list_head *elem) > > { > > return list_entry(elem, struct csched2_vcpu, runq_elem); > > } > > Would it make sense to make this inline as well? > Absolutely (not sure why it wasn't! :-P) Thanks and Regards, Dario -- <<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) Attachment:
signature.asc _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |