Re: [PATCH 3/3] Code clean up for percpu_xxx() functions

2012-01-11 Thread Alex,Shi
On Wed, 2012-01-11 at 16:44 -0800, H. Peter Anvin wrote: > On 01/11/2012 09:19 AM, t...@kernel.org wrote: > > > > Alex, can you please collect all patches into a single patchset? > > Please split it such that, usage changes are per-system so that they > > can be routed through respective subsystems

Re: [PATCH 3/3] Code clean up for percpu_xxx() functions

2012-01-11 Thread H. Peter Anvin
On 01/11/2012 09:19 AM, t...@kernel.org wrote: Alex, can you please collect all patches into a single patchset? Please split it such that, usage changes are per-system so that they can be routed through respective subsystems (x86 or net) and updates to percpu proper which can be applied after ot

Re: [PATCH 3/3] Code clean up for percpu_xxx() functions

2012-01-11 Thread t...@kernel.org
On Wed, Jan 11, 2012 at 05:08:41PM +0800, Alex,Shi wrote: > On Mon, 2011-11-21 at 17:06 -0700, t...@kernel.org wrote: > > (cc'ing hpa and quoting whole body) > > > > > > Signed-off-by: Alex Shi > > > Acked-by: Christoph Lameter > > > > Acked-by: Tejun Heo > > > > hpa, I suppose this should g

Re: [PATCH 3/3] Code clean up for percpu_xxx() functions

2012-01-11 Thread Alex,Shi
3aa54d1f66fdc0 Mon Sep 17 00:00:00 2001 From: Alex Shi Date: Tue, 22 Nov 2011 00:05:37 +0800 Subject: [PATCH 3/3] Code clean up for percpu_xxx() functions Since percpu_xxx() serial functions are duplicate with this_cpu_xxx(). Removing percpu_xxx() definition and replacing them by this_cpu_xxx() in co

Re: [PATCH 3/3] Code clean up for percpu_xxx() functions

2011-11-21 Thread t...@kernel.org
gt; From: Alex Shi > Date: Tue, 22 Nov 2011 00:05:37 +0800 > Subject: [PATCH 3/3] Code clean up for percpu_xxx() functions > > Since percpu_xxx() serial functions are duplicate with this_cpu_xxx(). > Removing percpu_xxx() definition and replacing them by this_cpu_xxx() in &g

Re: [PATCH 3/3] Code clean up for percpu_xxx() functions

2011-11-21 Thread Alex,Shi
refreshed the patch on latest upstream kernel. Any comments or picking up are appreciated. === >From 0dce61dc88b8ed2687b4d5c0633aa54d1f66fdc0 Mon Sep 17 00:00:00 2001 From: Alex Shi Date: Tue, 22 Nov 2011 00:05:37 +0800 Subject: [PATCH 3/3] Code clean up for percpu_xxx() functions Si

[PATCH 3/3] Code clean up for percpu_xxx() functions

2011-10-20 Thread Alex,Shi
Since percpu_xxx() serial functions are duplicate with this_cpu_xxx(). Removing percpu_xxx() definition and replacing them by this_cpu_xxx() in code. And further more, as Christoph Lameter's requirement, I try to use __this_cpu_xx to replace this_cpu_xxx if it is in preempt safe scenario. The pree