On Sat, 19 Oct 2013 14:33:50 -0700 "Paul E. McKenney" <paul...@linux.vnet.ibm.com> wrote:
> > /* Ideally we would like to run on zero CPUS! */ > > if (num_online_cpus() < 2) > > To be really safe, shouldn't you use complex numbers? Just in case > you end up running on a system with 5i-3 CPUs or something. ;-) > > Thanx, Paul I did think about that, but I didn't know the algorithm to test such a case, which is why I added you to the Cc. Hoping you would come up with a better conditional. -- Steve -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/