On Tue, Apr 19, 2011 at 11:17 AM, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote: > + while ((c = *name++) != 0) > + hash = (hash + (c << 4) + (c >> 4)) * 11; > + > + hash *= HASH_PRIME; > + hash >>= 32 - HASHED_INPUT_BITS; Just curious about this hash function, obviously it is not the same as the one used for hashing idents. Does it have any history or you just code it up? Chris -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html