mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-01-06 22:46:35 +00:00
reset_all_ctrls() and resctrl_arch_update_domains() use on_each_cpu_mask()
to call rdt_ctrl_update() on potentially one CPU from each domain.
But this means rdt_ctrl_update() needs to figure out which domain to
apply changes to. Doing so requires a search of all domains in a resource,
which can only be done safely if cpus_lock is held. Both callers do hold
this lock, but there isn't a way for a function called on another CPU
via IPI to verify this.
Commit
|
||
|---|---|---|
| .. | ||
| core.c | ||
| ctrlmondata.c | ||
| internal.h | ||
| Makefile | ||
| monitor.c | ||
| pseudo_lock_event.h | ||
| pseudo_lock.c | ||
| rdtgroup.c | ||