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

Re: [Xen-devel] [PATCH v8 03/24] x86: refactor psr: implement main data structures.



>>> On 01.03.17 at 09:49, <roger.pau@xxxxxxxxxx> wrote:
> What I was proposing is to make feat_node an array of pointers, so if a 
> feature
> is not supported that specific pointer would be NULL (ie: if feat_mask &
> PSR_SOCKET_L3_CDP == 0, features[PSR_SOCKET_L3_CDP] == NULL). And then you can
> avoid all the list traversing code.

In which case the feature flags would look to become redundant too.

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