Home
last modified time | relevance | path

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

/linux-4.4.14/arch/powerpc/kvm/
Dbook3s_hv.c1976 static bool subcore_config_ok(int n_subcores, int n_threads) in subcore_config_ok() argument
1990 return n_subcores * roundup_pow_of_two(n_threads) <= MAX_SMT_THREADS; in subcore_config_ok()
2064 int n_threads = vc->num_threads; in can_dynamic_split() local
2070 if (n_threads < cip->max_subcore_threads) in can_dynamic_split()
2071 n_threads = cip->max_subcore_threads; in can_dynamic_split()
2072 if (subcore_config_ok(cip->n_subcores + 1, n_threads)) { in can_dynamic_split()
2073 cip->max_subcore_threads = n_threads; in can_dynamic_split()