lkml.org 
[lkml]   [2010]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] percpu_counter : add percpu_counter_add_fast()
From
Date
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@gmail.com> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2010-10-22 01:25    [W:0.102 / U:1.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site