Andi Kleen wrote:Just longer code path, I think. It calls the generic smp_call_function_mask(), which then does a popcount on the cpu mask (which it needs to do anyway), sees only one bit set, and then punts to the smp_call_function_single() path. If we maintained a cpus_online count, then we could fast-path the call to smp_call_function_single() in the two core/cpu case more efficiently (would still need to scan the mask to extract the cpu number). Or alternatively, maybe it isn't actually worth special casing smp_call_function_single() with a multi-queue smp_call_function_mask() implementation? J --
| Srivatsa Vaddagiri | Re: [PATCH, RFC] reimplement flush_workqueue() |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| debian developer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Rafael J. Wysocki | 2.6.26-rc7-git2: Reported regressions from 2.6.25 |
| Alexey Dobriyan | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Ilpo Järvinen | Re: [bug] stuck localhost TCP connections, v2.6.26-rc3+ |
git: | |
