Re: [PATCH] percpu_counter : add percpu_counter_add_fast()

From: Eric Dumazet
Date: Thu Oct 21 2010 - 19:22:16 EST


Le jeudi 21 octobre 2010 Ã 16:18 -0700, Andrew Morton a Ãcrit :
> On Fri, 22 Oct 2010 00:58:14 +0200
> Eric Dumazet <eric.dumazet@xxxxxxxxx> wrote:
>
> > Then 39 instructions in hot path (no lock taken)
>
> Wow, your compiler sucks.
>


Actually my machines are mostly 32bit. Is it a problem ?

Compiler is OK, really.

percpu_counter() is misnamed, it should be named percpu_counter64() or
something like that :-(



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