From: Jon Maloy <jon.ma...@ericsson.com> 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.