It is normally far better to export a "no_read_super" function or similar
than to use NULL. A "no_*" function removes the if conditional from the
critical path for other modules using it, and is normally about as fast for
modules that are not - ok read_super isnt the most critical function on
the planet speedwise but its a general point to consider - see sock_no_*
in the 2.1.x socket code
Alan
Knowledge is power \\ Free Software, Free Speech
Information is a weapon \\ Free Information, Free Association
Truth is an inconvenience \\ Free Thought, Free World
Welcome to the corporate mindset \\inux Free Your Mind
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu