Re: [PATCH] perf: Store active software events in a hashlist

From: Peter Zijlstra
Date: Wed Apr 07 2010 - 05:03:51 EST


On Mon, 2010-04-05 at 16:08 +0200, Frederic Weisbecker wrote:
> +#define SWEVENT_HLIST_BITS 8
> +#define SWEVENT_HLIST_SIZE ((1 << (SWEVENT_HLIST_BITS + 1)) - 1)

That seems to result in 9 bits worth, doesn't it?


--
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/