From: Jon Maloy <[email protected]> Date: Mon, 6 Nov 2017 12:44:11 +0100
> + return core & (num_online_cpus() - 1); Well, this isn't exactly correct. The number of online cpus is not necessarily a power of two. And furthermore it shouldn't even be necessary. Just pass the whole key around, it will have the modulus applied to it when needed elsewhere in the call chains. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ tipc-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tipc-discussion
