[RFC PATCH 1/7] x86/intel_rdt: Expose useful functions to all RDT code

2018-07-24 Thread Reinette Chatre
In preparation for support of restoring pseudo-locked regions two functions are exposed to all RDT code: closid_alloc() and closid_allocated(). Signed-off-by: Reinette Chatre --- arch/x86/kernel/cpu/intel_rdt.h | 2 ++ arch/x86/kernel/cpu/intel_rdt_rdtgroup.c | 4 ++-- 2 files changed,

[RFC PATCH 1/7] x86/intel_rdt: Expose useful functions to all RDT code

2018-07-24 Thread Reinette Chatre
In preparation for support of restoring pseudo-locked regions two functions are exposed to all RDT code: closid_alloc() and closid_allocated(). Signed-off-by: Reinette Chatre --- arch/x86/kernel/cpu/intel_rdt.h | 2 ++ arch/x86/kernel/cpu/intel_rdt_rdtgroup.c | 4 ++-- 2 files changed,