commit | 2e702b9f6cba4eb87d90e2a2d425a1fc05eec803 | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Mon Jan 27 17:07:14 2014 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Jan 27 21:02:40 2014 -0800 |
tree | ade4a3bcec477ced2780f1841e7c06f547effe84 | |
parent | a19428e5c3f4f39c302cb97b847dfd23613145c1 [diff] |
softirq: use ffs() in __do_softirq() Possible speed improvement of __do_softirq() by using ffs() instead of using a while loop with an & 1 test then single bit shift. Signed-off-by: Joe Perches <joe@perches.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>