Re: [PATCH 1/3] softirq: Use ffs in __do_softirq

2013-12-09 Thread Frederic Weisbecker
On Mon, Dec 09, 2013 at 10:56:46AM -0800, Joe Perches wrote: > On Mon, 2013-12-09 at 19:44 +0100, Frederic Weisbecker wrote: > > On Sun, Nov 17, 2013 at 01:55:10AM -0800, Joe Perches wrote: > > > Possible speed improvement of the __do_softirq function by using ffs > > > instead of using a while loo

Re: [PATCH 1/3] softirq: Use ffs in __do_softirq

2013-12-09 Thread Joe Perches
On Mon, 2013-12-09 at 19:44 +0100, Frederic Weisbecker wrote: > On Sun, Nov 17, 2013 at 01:55:10AM -0800, Joe Perches wrote: > > Possible speed improvement of the __do_softirq function by using ffs > > instead of using a while loop with an & 1 test then single bit shift. [] > Perhaps using for_each

Re: [PATCH 1/3] softirq: Use ffs in __do_softirq

2013-12-09 Thread Frederic Weisbecker
On Sun, Nov 17, 2013 at 01:55:10AM -0800, Joe Perches wrote: > Possible speed improvement of the __do_softirq function by using ffs > instead of using a while loop with an & 1 test then single bit shift. > > Signed-off-by: Joe Perches > --- > kernel/softirq.c | 43 ++-

[PATCH 1/3] softirq: Use ffs in __do_softirq

2013-11-17 Thread Joe Perches
Possible speed improvement of the __do_softirq function by using ffs instead of using a while loop with an & 1 test then single bit shift. Signed-off-by: Joe Perches --- kernel/softirq.c | 43 ++- 1 file changed, 22 insertions(+), 21 deletions(-) diff --g