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

Re: [Xen-devel] [PATCH 3/3] credit2: xen related changes to add support for runqueue per cpupool.



>>> On 12.09.17 at 02:45, <anshulmakkar@xxxxxxxxx> wrote:
> --- a/xen/include/public/sysctl.h
> +++ b/xen/include/public/sysctl.h
> @@ -538,7 +538,34 @@ struct xen_sysctl_numainfo {
>  typedef struct xen_sysctl_numainfo xen_sysctl_numainfo_t;
>  DEFINE_XEN_GUEST_HANDLE(xen_sysctl_numainfo_t);
>  
> +struct xen_sysctl_credit_schedule {
> +    /* Length of timeslice in milliseconds */
> +#define XEN_SYSCTL_CSCHED_TSLICE_MAX 1000
> +#define XEN_SYSCTL_CSCHED_TSLICE_MIN 1
> +    unsigned tslice_ms;
> +    unsigned ratelimit_us;
> +};
> +typedef struct xen_sysctl_credit_schedule xen_sysctl_credit_schedule_t;
> +DEFINE_XEN_GUEST_HANDLE(xen_sysctl_credit_schedule_t);

No new unnecessary typedefs and handles anymore please now
that a patch is almost ready to go in to remove those.

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