Re: [Xen-devel] [PATCH v8 02/24] x86: refactor psr: remove L3 CAT/CDP codes.

2017-02-26 Thread Wei Liu
On Wed, Feb 15, 2017 at 04:49:17PM +0800, Yi Sun wrote: > The current cache allocation codes in psr.c do not consider > future features addition and are not friendly to extend. > > To make psr.c be more flexible to add new features and fulfill > the program principle, open for extension but closed

[Xen-devel] [PATCH v8 02/24] x86: refactor psr: remove L3 CAT/CDP codes.

2017-02-15 Thread Yi Sun
The current cache allocation codes in psr.c do not consider future features addition and are not friendly to extend. To make psr.c be more flexible to add new features and fulfill the program principle, open for extension but closed for modification, we have to refactor the psr.c: 1. Analyze cache