Messages in this thread | | | Date | Mon, 5 Aug 2019 18:07:23 +0200 | From | Borislav Petkov <> | Subject | Re: [PATCH V2 06/10] x86/resctrl: Introduce utility to return pseudo-locked cache portion |
| |
On Tue, Jul 30, 2019 at 10:29:40AM -0700, Reinette Chatre wrote: > To prevent eviction of pseudo-locked memory it is required that no > other resource group uses any portion of a cache that is in use by > a cache pseudo-locked region. > > Introduce a utility that will return a Capacity BitMask (CBM) indicating > all portions of a provided cache instance being used for cache > pseudo-locking. This CBM can be used in overlap checking as well as > cache usage reporting. > > Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> > --- > arch/x86/kernel/cpu/resctrl/internal.h | 1 + > arch/x86/kernel/cpu/resctrl/pseudo_lock.c | 23 +++++++++++++++++++++++ > 2 files changed, 24 insertions(+)
s/utility/utility function/g
so that there's no ambiguity...
Thx.
-- Regards/Gruss, Boris.
Good mailing practices for 400: avoid top-posting and trim the reply.
| |