Re: [Xen-devel] [PATCH v8 02/16] Rename PSR sysctl/domctl interfaces and xsm policy to make them be general

2017-10-18 Thread Wei Liu
On Wed, Oct 18, 2017 at 08:14:20AM -0600, Jan Beulich wrote: > >>> On 16.10.17 at 05:04, wrote: > > v7: > > - add single trailing underscore for internal variabled in macro. > > (suggested by Jan Beulich) > > - add parentheses for input parameters of marcro. > > (suggested by J

Re: [Xen-devel] [PATCH v8 02/16] Rename PSR sysctl/domctl interfaces and xsm policy to make them be general

2017-10-18 Thread Jan Beulich
>>> On 16.10.17 at 05:04, wrote: > v7: > - add single trailing underscore for internal variabled in macro. > (suggested by Jan Beulich) > - add parentheses for input parameters of marcro. > (suggested by Jan Beulich) > - adjust the postion of macro. > (suggested by Ja

[Xen-devel] [PATCH v8 02/16] Rename PSR sysctl/domctl interfaces and xsm policy to make them be general

2017-10-15 Thread Yi Sun
This patch renames PSR sysctl/domctl interfaces and related xsm policy to make them be general for all resource allocation features but not only for CAT. Then, we can resuse the interfaces for all allocation features. Basically, it changes 'psr_cat_op' to 'psr_alloc', and remove 'CAT_' from some m