Re: [PATCH v2 1/9] net: core: use this_cpu_ptr per-cpu helper

2012-11-03 Thread Steffen Klassert
On Fri, Nov 02, 2012 at 05:44:55PM +, Christoph Lameter wrote: > On Sat, 3 Nov 2012, Shan Wei wrote: > > +++ b/net/core/flow.c > > @@ -327,11 +327,9 @@ static void flow_cache_flush_tasklet(unsigned long > > data) > > static void flow_cache_flush_per_cpu(void *data) > > { > > struct

Re: [PATCH v2 1/9] net: core: use this_cpu_ptr per-cpu helper

2012-11-03 Thread Steffen Klassert
On Fri, Nov 02, 2012 at 05:44:55PM +, Christoph Lameter wrote: On Sat, 3 Nov 2012, Shan Wei wrote: +++ b/net/core/flow.c @@ -327,11 +327,9 @@ static void flow_cache_flush_tasklet(unsigned long data) static void flow_cache_flush_per_cpu(void *data) { struct flow_flush_info

Re: [PATCH v2 1/9] net: core: use this_cpu_ptr per-cpu helper

2012-11-02 Thread Christoph Lameter
On Sat, 3 Nov 2012, Shan Wei wrote: > +++ b/net/core/flow.c > @@ -327,11 +327,9 @@ static void flow_cache_flush_tasklet(unsigned long data) > static void flow_cache_flush_per_cpu(void *data) > { > struct flow_flush_info *info = data; > - int cpu; > struct tasklet_struct *tasklet;

[PATCH v2 1/9] net: core: use this_cpu_ptr per-cpu helper

2012-11-02 Thread Shan Wei
From: Shan Wei Signed-off-by: Shan Wei Reviewed-by: Christoph Lameter --- net/core/flow.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/net/core/flow.c b/net/core/flow.c index e318c7e..3bad824 100644 --- a/net/core/flow.c +++ b/net/core/flow.c @@ -327,11 +327,9

[PATCH v2 1/9] net: core: use this_cpu_ptr per-cpu helper

2012-11-02 Thread Shan Wei
From: Shan Wei davids...@tencent.com Signed-off-by: Shan Wei davids...@tencent.com Reviewed-by: Christoph Lameter c...@linux.com --- net/core/flow.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/net/core/flow.c b/net/core/flow.c index e318c7e..3bad824 100644 ---

Re: [PATCH v2 1/9] net: core: use this_cpu_ptr per-cpu helper

2012-11-02 Thread Christoph Lameter
On Sat, 3 Nov 2012, Shan Wei wrote: +++ b/net/core/flow.c @@ -327,11 +327,9 @@ static void flow_cache_flush_tasklet(unsigned long data) static void flow_cache_flush_per_cpu(void *data) { struct flow_flush_info *info = data; - int cpu; struct tasklet_struct *tasklet; -