Home
last modified time | relevance | path

Searched refs:rmid (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.1/arch/x86/kernel/cpu/resctrl/
Dmonitor.c28 u32 rmid; member
130 static inline u64 get_corrected_mbm_count(u32 rmid, unsigned long val) in get_corrected_mbm_count() argument
133 if (rmid > mbm_cf_rmidthreshold) in get_corrected_mbm_count()
139 static inline struct rmid_entry *__rmid_entry(u32 rmid) in __rmid_entry() argument
143 entry = &rmid_ptrs[rmid]; in __rmid_entry()
144 WARN_ON(entry->rmid != rmid); in __rmid_entry()
150 u32 rmid, in get_arch_mbm_state() argument
157 return &hw_dom->arch_mbm_total[rmid]; in get_arch_mbm_state()
159 return &hw_dom->arch_mbm_local[rmid]; in get_arch_mbm_state()
169 u32 rmid, enum resctrl_event_id eventid) in resctrl_arch_reset_rmid() argument
[all …]
Drdtgroup.c309 this_cpu_write(pqr_state.default_rmid, r->mon.rmid); in update_cpu_closid_rmid()
554 tsk->rmid == rdtgrp->mon.rmid) || in __rdtgroup_move_task()
555 (rdtgrp->type == RDTMON_GROUP && tsk->rmid == rdtgrp->mon.rmid && in __rdtgroup_move_task()
570 WRITE_ONCE(tsk->rmid, rdtgrp->mon.rmid); in __rdtgroup_move_task()
573 WRITE_ONCE(tsk->rmid, rdtgrp->mon.rmid); in __rdtgroup_move_task()
606 (r->type == RDTMON_GROUP) && (t->rmid == r->mon.rmid)); in is_rmid_match()
810 if (tsk->rmid != crg->mon.rmid) in proc_resctrl_show()
2402 WRITE_ONCE(t->rmid, to->mon.rmid); in rdt_move_group_tasks()
2425 free_rmid(sentry->mon.rmid); in free_all_child_rdtgrp()
2465 free_rmid(rdtgrp->mon.rmid); in rmdir_all_sub()
[all …]
Dinternal.h152 u32 rmid; member
522 void free_rmid(u32 rmid);
Dpseudo_lock.c741 free_rmid(rdtgrp->mon.rmid); in rdtgroup_locksetup_enter()
771 rdtgrp->mon.rmid = ret; in rdtgroup_locksetup_exit()
776 free_rmid(rdtgrp->mon.rmid); in rdtgroup_locksetup_exit()
/Linux-v6.1/arch/x86/include/asm/
Dresctrl.h58 u32 rmid = state->default_rmid; in __resctrl_sched_in() local
72 tmp = READ_ONCE(current->rmid); in __resctrl_sched_in()
74 rmid = tmp; in __resctrl_sched_in()
77 if (closid != state->cur_closid || rmid != state->cur_rmid) { in __resctrl_sched_in()
79 state->cur_rmid = rmid; in __resctrl_sched_in()
80 wrmsr(IA32_PQR_ASSOC, rmid, closid); in __resctrl_sched_in()
/Linux-v6.1/include/linux/
Dresctrl.h238 u32 rmid, enum resctrl_event_id eventid, u64 *val);
251 u32 rmid, enum resctrl_event_id eventid);
Dsched.h1233 u32 rmid; member
/Linux-v6.1/Documentation/x86/
Dresctrl.rst1233 |core count |rmid count |rmid threshold |correction factor|
1290 If rmid > rmid threshold, MBM total and local values should be multiplied