[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.1.10.0901082054000.18713@gandalf.stny.rr.com>
Date:	Thu, 8 Jan 2009 20:56:29 -0500 (EST)
From:	Steven Rostedt <rostedt@...dmis.org>
To:	Andrew Morton <akpm@...ux-foundation.org>
cc:	linux-kernel@...r.kernel.org, mingo@...e.hu, pq@....fi,
	srostedt@...hat.com
Subject: Re: [PATCH 3/3] mmiotrace: count events lost due to not recording
On Thu, 8 Jan 2009, Andrew Morton wrote:
> 
> y:/usr/src/linux-2.6.28> grep -r "atomic_t.*=.*ATOMIC_INIT" . | wc -l
> 110
> 
> become cleanup fodder.
[linus.git]$ git grep "atomic_t.*=.*ATOMIC_INIT([^0]" |wc -l
13
[linus.git]$ git grep "atomic_t.*=.*ATOMIC_INIT(0" |wc -l
104
[linus.git]$ git grep "atomic_t.*=.*ATOMIC_INIT" |wc -l
117
OK, in current linus.git we have 117 atomic_t using ATOMIC_INIT, where 13 
actually need the init (non zero). But 104 need to be cleaned up ;-)
-- Steve
--
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
 
