Thread (11 messages) 11 messages, 3 authors, 2021-02-19

Re: [PATCH] oslat: Fix --cpu-list won't allow to schedule on all possible cores

From: Daniel Wagner <hidden>
Date: 2021-02-19 16:43:47

On 19.02.21 17:35, John Kacur wrote:
quoted
"rt-numa: Use mask size for iterator limit"
"rt-numa: Remove max_cpus argument from parse_cpusmask"
Are those actually bug fixes or just a different way of doing things?
max_cpus is just giving you the number of available CPUs. The loop 
assumes that all are in the range of [0..max_cpus] which is not 
necessarily true. You need to iterate over all possible CPUs. That is 
why passing in max_cpus is pretty useless.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help