Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Steven Rostedt wrote:
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.

This is purely a guess, backed by zero evidence.

These network drivers were hand-tuned to use tasklets. Sure it will WORK as a workqueue, but that says nothing equivalence.


Those places could then
probably be solved by a different design (yes that would take work).

Network driver patches welcome :)


Tasklets are there because there
wasn't work queues or kthreads at the time of solving the solution that
tasklets solved.

Completely false, at least in network driver land. Threads existed and were used (proof: 8139too, among others).

Kernel threads were not used for hot path network packet shovelling because they were too damn slow. Tasklets were single-threaded, fast, simple and immediate. Workqueues today are simple and almost-fast.

	Jeff


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux