[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.0903060149540.26215@chino.kir.corp.google.com>
Date: Fri, 6 Mar 2009 01:56:26 -0800 (PST)
From: David Rientjes <rientjes@...gle.com>
To: Peter Zijlstra <peterz@...radead.org>
cc: Ingo Molnar <mingo@...e.hu>,
"David S. Miller" <davem@...emloft.net>,
linux-kernel@...r.kernel.org
Subject: Re: [patch 2/2] lockdep: initialize lockdep debugging statistics
On Fri, 6 Mar 2009, Peter Zijlstra wrote:
> I'm a bit slow, please use more words and explain this to me.
>
> Before replying please read:
>
> ea435467500612636f8f4fb639ff6e76b2496e4b
>
> and stare at the output of:
>
> git grep "define[ \t]*ATOMIC_INIT\>"
>
Peter, this is purely a matter of good software engineering practices. I
hadn't realized you were so passionate about avoiding initialization of
global atomic_t variables, even though it usually suffices.
I assume you wouldn't object to removing all such cases in the kernel.
$ grep -r "atomic_t.*= ATOMIC_INIT(0)" * | wc -l
104
Unless David Miller has any input, I'll happily defer to your
maintainership of lockdep in this matter. Thanks for looking at the
patch.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists