On Fri, 29 Jun 2007, Alexey Kuznetsov wrote:Noted ;-) Not a very accurate measurement (jiffies that is). [...] Since the work queue *is* a thread, you are running a busy loop here. Even though you call schedule, this thread still may have quota available, and will not yeild to the work queue. Unless ofcourse this caller is of lower priority. But even then, I'm not sure how quickly the schedule would choose the work queue. > cnt++; I do really want to point out something in the Subject line. **RFC** :-) I had very little hope for this magic switch to get into mainline. (maybe get it into -mm) But the thing was is that tasklets IMHO are over used. As Ingo said, there are probably only 2 or 3 places in the kernel that a a switch to work queue conversion couldn't solve. Those places could then probably be solved by a different design (yes that would take work). Tasklets are there and people will continue to use them when they shouldn't for as long as they exist. Tasklets are there because there wasn't work queues or kthreads at the time of solving the solution that tasklets solved. So if you can still keep the same performance without tasklets, I say we get rid of them. I've also meet too many device driver writers that want the lowest possible latency for their device, and do so by sacrificing the latency of other things in the system that may be even more critical. Also note, that the more tasklets we have, the higher the latency will be for other tasklets. There's only two prios you can currently give a tasklet, so competing devices will need to fight each other without the admin being able to have as much control over the result. -- Steve -
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Eric Sandeen | Re: [RFC] Heads up on sys_fallocate() |
| Rafael J. Wysocki | 2.6.27-rc4-git1: Reported regressions from 2.6.26 |
| Chuck Ebbert | Why do so many machines need "noapic"? |
git: | |
| Corey Minyard | [PATCH 3/3] Convert the UDP hash lock to RCU |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
