Satyam Sharma wrote: > True, the other option could be to put the /pointer/ in there > unconditionally, > but that would slow down the MAX_NUMNODES <= BITS_PER_LONG case, > which (after grepping through defconfigs) appears to be the common case on > all archs other than ia64. So I think your idea of making that conditional > centralized in the code with an accompanying comment is the way to go here ...
It won't be long before arch's other than ia64 will have MAX_NUMNODES > BITS_PER_LONG. While it won't be the norm, we should account for it now. Thanks, Mike - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/