lkml.org 
[lkml]   [2011]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/3] net: use this_cpu_xxx replace percpu_xxx funcs
From
Date
On Thu, 2011-10-20 at 16:38 +0800, Eric Dumazet wrote:
> Le jeudi 20 octobre 2011 à 15:32 +0800, Alex,Shi a écrit :
> > percpu_xxx funcs are duplicated with this_cpu_xxx funcs, so replace them
> > for further code clean up.
> >
> > And in preempt safe scenario, __this_cpu_xxx funcs has a bit better
> > performance since __this_cpu_xxx has no redundant preempt_disable()
> >
> > Signed-off-by: Alex Shi <alex.shi@intel.com>
> > ---
> > net/netfilter/xt_TEE.c | 12 ++++++------
> > net/socket.c | 4 ++--
> > 2 files changed, 8 insertions(+), 8 deletions(-)
>
> Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
>
> Thanks !

Anyone like to pick up this patch? or more comments for this?
>
>


--
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: 2011-11-21 10:03    [W:0.190 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site