Home
last modified time | relevance | path

Searched refs:membw (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/arch/x86/kernel/cpu/resctrl/
Dcore.c151 return rdt_resources_all[RDT_RESOURCE_MBA].r_resctrl.membw.mba_sc; in is_mba_sc()
153 return r->membw.mba_sc; in is_mba_sc()
188 r->membw.arch_needs_linear = true; in __get_mem_config_intel()
190 r->membw.delay_linear = true; in __get_mem_config_intel()
191 r->membw.min_bw = MAX_MBA_BW - max_delay; in __get_mem_config_intel()
192 r->membw.bw_gran = MAX_MBA_BW - max_delay; in __get_mem_config_intel()
196 r->membw.arch_needs_linear = false; in __get_mem_config_intel()
201 r->membw.throttle_mode = THREAD_THROTTLE_PER_THREAD; in __get_mem_config_intel()
203 r->membw.throttle_mode = THREAD_THROTTLE_MAX; in __get_mem_config_intel()
223 r->membw.delay_linear = false; in __rdt_get_mem_config_amd()
[all …]
Dctrlmondata.c38 if (!r->membw.delay_linear && r->membw.arch_needs_linear) { in bw_validate()
49 if ((bw < r->membw.min_bw || bw > r->default_ctrl) && in bw_validate()
52 r->membw.min_bw, r->default_ctrl); in bw_validate()
56 *data = roundup(bw, (unsigned long)r->membw.bw_gran); in bw_validate()
Dmonitor.c563 if (cur_msr_val > r_mba->membw.min_bw && user_bw < cur_bw) { in update_mba_bw()
564 new_msr_val = cur_msr_val - r_mba->membw.bw_gran; in update_mba_bw()
567 new_msr_val = cur_msr_val + r_mba->membw.bw_gran; in update_mba_bw()
Drdtgroup.c986 seq_printf(seq, "%u\n", r->membw.min_bw); in rdt_min_bw_show()
1018 seq_printf(seq, "%u\n", r->membw.bw_gran); in rdt_bw_gran_show()
1028 seq_printf(seq, "%u\n", r->membw.delay_linear); in rdt_delay_linear_show()
1046 if (r->membw.throttle_mode == THREAD_THROTTLE_PER_THREAD) in rdt_thread_throttle_mode_show()
1838 return rdt_resources_all[RDT_RESOURCE_MBA].r_resctrl.membw.delay_linear; in is_mba_linear()
1947 r->membw.mba_sc = mba_sc; in set_mba_sc()
/linux-6.1.9/include/linux/
Dresctrl.h173 struct resctrl_membw membw; member