LWN.net Logo

Quotes of the week

Unfortunately, even the best human reflexes simply cannot keep up with a 5GHz CPU. Even if we imagine a hyper-caffeinated 5GHz superhero, there are many millions of computers to be kept up with. And so the modern microprocessor invalidates untold millenia of evolution, frustrating untold numbers of would-be computer professionals.
-- Paul McKenney

The fact is, any time anybody makes up a new locking mechanism, THEY ALWAYS GET IT WRONG. Don't do it.
-- Linus Torvalds

But us kernel developers stay up too late at night, drinking jolt (or beer if you are in Europe), and our brain cells have fused to only logical circuitry, thus understanding concepts that are not engraved in stone becomes a bit too straining for us, and we may finally have to give up on solving this one last bug to get some rest with our love one that's been sleeping since 9pm.

This means using DECLARE_* and DEFINE_* will push us over that brink to normalcy and must be avoided. A new name must be established to clearly describe the mystical CPP magic that comprises the TRACE_EVENT hackery. Something that can bring us back to our roots. Something where it all begins. The stone age.

Thus, this patch renames the MACROS to the most obvious definitions around. Something we should have thought of at the start.

s/DEFINE_EVENT_CLASS/FRED/g
s/DEFINE_EVENT/WILMA/g
s/TRACE_EVENT/BARNEY/g
-- Steven "Bam Bam" Rostedt
(Log in to post comments)

Quotes of the week

Posted Dec 10, 2009 14:17 UTC (Thu) by cesarb (subscriber, #6266) [Link]

My favorite this week is commit c95b4502ad7fe8f3b9954aec794b00ac0046ab3a (http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-...):

MOD_NANO, ADJ_NANO, MOD_NANO, ADJ_NANO!
Lets call the whole thing off!
But oh! If we call the whole thing off,
Then we must part.
And oh! If we ever part,
Then that might break my heart^H^H^H^Hclock!
So, if you like MOD_NANO and I like ADJ_NANO,
I'll include MOD_NANO and give up ADJ_NANO (not really!).
For we know we need each other,
So we better call the calling off off.
Let's call the whole thing off!

(that commit is a bit old, but its merge is from this week)

Copyright © 2009, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds