Re: [PATCH] arch: sparc: kernel: smp_64.c: Optimization of the Code

2014-06-01 Thread David Miller
From: Rickard Strandqvist Date: Sun, 1 Jun 2014 23:48:18 +0200 > From what I know, AND is faster then modulo. > Not sure if this is worth changing though. > > Signed-off-by: Rickard Strandqvist This code came from the IA-64 arch code, so you probably want to fix either both or neither. I'd s

[PATCH] arch: sparc: kernel: smp_64.c: Optimization of the Code

2014-06-01 Thread Rickard Strandqvist
>From what I know, AND is faster then modulo. Not sure if this is worth changing though. Signed-off-by: Rickard Strandqvist --- arch/sparc/kernel/smp_64.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sparc/kernel/smp_64.c b/arch/sparc/kernel/smp_64.c index 745a363.