Messages in this thread | | | Subject | Re: [PATCH] bitops: simplify generic bit finding functions | From | Andi Kleen <> | Date | Mon, 28 Apr 2008 21:57:33 +0200 |
| |
Linus Torvalds <torvalds@linux-foundation.org> writes: > > Is there a real hot path anywhere that actually uses this and depends on > it?
A long time ago during profiling I found that in the scheduler back then for_each_cpu() with find_next_bit() was somewhat hot. But I'm not sure it still would be in the new scheduler anyways and the test case a little dumb anyways (overscheduling user space)
Still I think for_each_cpu() should be reasonably stream lined code.
-Andi
| |