Yu
CC: linux-i...@vger.kernel.org
CC: Will Deacon
CC: Peter Zijlstra
CC: Arnaldo Carvalho de Melo
CC: Russell King
CC: linux-arm-ker...@lists.infradead.org
Gilad Ben-Yossef (9):
arm: avoid using on_each_cpu hard coded ret value
ia64: avoid using on_each_cpu hard coded ret value
x86: avoid using o
on_each_cpu always returns a hard coded return code of zero.
Removing all tests based on this return value saves run time
cycles for compares and code bloat for branches.
CC: Michal Nazarewicz
CC: David Airlie
CC: dri-devel@lists.freedesktop.org
---
drivers/gpu/drm/drm_cache.c |3 +--
1 fi
on_each_cpu returns the retunr value of smp_call_function
which is hard coded to 0.
Refactor on_each_cpu to a void function and the few callers
that check the return value to save compares and branches.
CC: Michal Nazarewicz
CC: David Airlie
CC: dri-devel@lists.freedesktop.org
CC: Benjamin Herr
2012/1/3 Michal Nazarewicz :
> On Tue, 03 Jan 2012 15:19:04 +0100, Gilad Ben-Yossef
> wrote:
>>
>> on_each_cpu() returns as its own return value the return value of
>> smp_call_function(). smp_call_function() in turn returns a hard
>> coded value of zero.
>>
&g
t git://github.com/gby/linux.git
Signed-off-by: Gilad Ben-Yossef
Acked-by: Peter Zijlstra
Reviewed-by: Michal Nazarewicz
CC: Michal Nazarewicz
CC: David Airlie
CC: dri-devel@lists.freedesktop.org
CC: Benjamin Herrenschmidt
CC: Paul Mackerras
CC: Grant Likely
CC: Rob Herring
CC: lin
on_each_cpu always returns a hard coded return code of zero.
Removing all tests based on this return value saves run time
cycles for compares and code bloat for branches.
Signed-off-by: Gilad Ben-Yossef
Acked-by: Peter Zijlstra
Reviewed-by: Michal Nazarewicz
CC: David Airlie
CC: dri-devel
2012/1/3 Michal Nazarewicz :
> On Tue, 03 Jan 2012 15:19:04 +0100, Gilad Ben-Yossef
> wrote:
>>
>> on_each_cpu() returns as its own return value the return value of
>> smp_call_function(). smp_call_function() in turn returns a hard
>> coded value of zero.
>>
&g
Fenghua Yu
CC: linux-ia64 at vger.kernel.org
CC: Will Deacon
CC: Peter Zijlstra
CC: Arnaldo Carvalho de Melo
CC: Russell King
CC: linux-arm-kernel at lists.infradead.org
Gilad Ben-Yossef (9):
arm: avoid using on_each_cpu hard coded ret value
ia64: avoid using on_each_cpu hard coded ret val
on_each_cpu always returns a hard coded return code of zero.
Removing all tests based on this return value saves run time
cycles for compares and code bloat for branches.
CC: Michal Nazarewicz
CC: David Airlie
CC: dri-devel at lists.freedesktop.org
---
drivers/gpu/drm/drm_cache.c |3 +--
1
on_each_cpu returns the retunr value of smp_call_function
which is hard coded to 0.
Refactor on_each_cpu to a void function and the few callers
that check the return value to save compares and branches.
CC: Michal Nazarewicz
CC: David Airlie
CC: dri-devel at lists.freedesktop.org
CC: Benjamin H
t git://github.com/gby/linux.git
Signed-off-by: Gilad Ben-Yossef
Acked-by: Peter Zijlstra
Reviewed-by: Michal Nazarewicz
CC: Michal Nazarewicz
CC: David Airlie
CC: dri-devel at lists.freedesktop.org
CC: Benjamin Herrenschmidt
CC: Paul Mackerras
CC: Grant Likely
CC: Rob Herring
CC: linuxppc-d
on_each_cpu always returns a hard coded return code of zero.
Removing all tests based on this return value saves run time
cycles for compares and code bloat for branches.
Signed-off-by: Gilad Ben-Yossef
Acked-by: Peter Zijlstra
Reviewed-by: Michal Nazarewicz
CC: David Airlie
CC: dri-devel at
12 matches
Mail list logo