On Sat, Jun 30, 2012 at 01:24:05AM -0400, Konrad Rzeszutek Wilk wrote: > I think you are better using a different name. > > Perhaps 'if (autonuma_on())'
I changed it to AUTONUMA_POSSIBLE_FLAG/autonuma_possible() and optimized the implementation to a single test_bit on the read mostly flag variable. "possible" is the term all NUMA code in the kernel already uses with almost the same meaning (modulo noautonuma parameter) as num_possible_nodes() etc... -- 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/