Re: [PATCH 10/28] x86/intel_rdt: Simplify info and base file lists

2017-08-01 Thread Thomas Gleixner
On Tue, 25 Jul 2017, Vikas Shivappa wrote: > for_each_alloc_enabled_rdt_resource(r) { > - kn_subdir = kernfs_create_dir(kn_info, r->name, > - kn_info->mode, r); > - if (IS_ERR(kn_subdir)) { > - ret =

Re: [PATCH 10/28] x86/intel_rdt: Simplify info and base file lists

2017-08-01 Thread Thomas Gleixner
On Tue, 25 Jul 2017, Vikas Shivappa wrote: > for_each_alloc_enabled_rdt_resource(r) { > - kn_subdir = kernfs_create_dir(kn_info, r->name, > - kn_info->mode, r); > - if (IS_ERR(kn_subdir)) { > - ret =

[PATCH 10/28] x86/intel_rdt: Simplify info and base file lists

2017-07-25 Thread Vikas Shivappa
From: Tony luck The info directory files and base files need to be different for each resource like cache and Memory bandwidth. With in each resource, the files would be further different for monitoring and ctrl. This leads to a lot of different static array declarations

[PATCH 10/28] x86/intel_rdt: Simplify info and base file lists

2017-07-25 Thread Vikas Shivappa
From: Tony luck The info directory files and base files need to be different for each resource like cache and Memory bandwidth. With in each resource, the files would be further different for monitoring and ctrl. This leads to a lot of different static array declarations given that we are adding