|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v8 11/24] x86: refactor psr: set value: implement cos id picking flow.
On Wed, Feb 15, 2017 at 04:49:26PM +0800, Yi Sun wrote:
> static int pick_avail_cos(const struct psr_socket_info *info,
> const uint64_t *val, uint32_t array_len,
> unsigned int old_cos,
> enum psr_feat_type feat_type)
> {
> + unsigned int cos;
> + unsigned int cos_max = 0;
> + const struct feat_node *feat;
> + const unsigned int *ref = info->cos_ref;
> +
> + /*
> + * cos_max is the one of the feature which is being set.
> + */
Single line comment should be like:
/* xxxx */
Wei.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |