Re: [PATCH 3/3] mmiotrace: count events lost due to not recording
From: Steven Rostedt
Date: Thu Jan 08 2009 - 20:56:40 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/