mirror_ubuntu-kernels/arch/x86/kernel/cpu/resctrl
James Morse e6b2fac36f x86/resctrl: Use is_closid_match() in more places
rdtgroup_tasks_assigned() and show_rdt_tasks() loop over threads testing
for a CTRL/MON group match by closid/rmid with the provided rdtgrp.
Further down the file are helpers to do this, move these further up and
make use of them here.

These helpers additionally check for alloc/mon capable. This is harmless
as rdtgroup_mkdir() tests these capable flags before allowing the config
directories to be created.

Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Link: https://lkml.kernel.org/r/20200708163929.2783-7-james.morse@arm.com
2020-08-19 09:08:36 +02:00
..
core.c x86/resctrl: Remove struct rdt_membw::max_delay 2020-08-18 17:01:23 +02:00
ctrlmondata.c x86/resctrl: Maintain MBM counter width per resource 2020-05-06 18:00:35 +02:00
internal.h x86/resctrl: Remove struct rdt_membw::max_delay 2020-08-18 17:01:23 +02:00
Makefile x86/resctrl: Avoid confusion over the new X86_RESCTRL config 2019-02-02 10:34:52 +01:00
monitor.c x86/resctrl: Use container_of() in delayed_work handlers 2020-08-18 17:05:08 +02:00
pseudo_lock_event.h x86/resctrl: Rename and move rdt files to a separate directory 2018-11-22 20:16:18 +01:00
pseudo_lock.c mmap locking API: convert mmap_sem comments 2020-06-09 09:39:14 -07:00
rdtgroup.c x86/resctrl: Use is_closid_match() in more places 2020-08-19 09:08:36 +02:00