Re: [ Mind testing experimental one-liner? ]

David S. Miller (davem@dm.cobaltmicro.com)
Sat, 16 Jan 1999 17:36:03 -0800


Date: Sat, 16 Jan 1999 17:27:31 -0800 (PST)
From: Linus Torvalds <torvalds@transmeta.com>

Btw, if you're willing to test some more, there's a much less intrusive
way to get basically the same behaviour:

...

How about just renaming it to __get_hash_table, add an extra arg "int
uptodate_nowait", make a macro "get_hash_table" which just expands to
passing the new arg as zero. Then call the internal version directly
from places you know it is safe with the new arg as one? Seems much
cleaner to me, and no code duplication (ie. unnecessary bloat).

Later,
David S. Miller
davem@dm.cobaltmicro.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/