On 2015-11-13 at 13:04 Kevin Klues <[email protected]> wrote: > I thought about this, and it seems reasonable so long as we never use > max_vocres() == 0 as a proxy for in_multi_mode() (i.e. > __procinfo.is_mcp) anywhere. We may have done this in old code > somewhere.
that'd be super buggy, since on any machine with > 1 pcore you'd always have max_vcores = at least 1. it might be more reasonable to have done num_vcores == 0 for is_mcp or not, but that's buggy too (and i should have removed those if they existed). > Did you do a survey of all uses of max_vcores()? skimmed the list of git grep. it all seemed like "this is how many vcores i could ever get". barret -- You received this message because you are subscribed to the Google Groups "Akaros" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
