Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Ingo Molnar <mingo@xxxxxxx>
- Date: Fri, 22 Jun 2007 23:59:53 +0200
* Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
If the numbers say that there is no performance difference (or even
better: that the new code performs better or fixes some latency issue
or whatever), I'll be very happy. But if the numbers say that it's
worse, no amount of cleanliness really changes that.
Most of the tasklet uses are in rarely used or arcane drivers - in fact
none of my 10 test-boxes utilizes _any_ tasklet in any way that could
even get close to mattering to performance. In other words: i just
cannot test this, nor do i think that others will really test this. I.e.
if we dont approach this problem in some other way, nothing will happen
and Steve's patch will be stalled forever and will live in -rt forever.
(which might be a correct end result too, but i'm just not giving up
this easily :-)
so how about the following, different approach: anyone who has a tasklet
in any performance-sensitive codepath, please yell now. We'll also do a
proactive search for such places. We can convert those places to
softirqs, or move them back into hardirq context. Once this is done -
and i doubt it will go beyond 1-2 places - we can just mass-convert the
other 110 places to the lame but compatible solution of doing them in a
global thread context.
[ and on a similar notion, i still havent given up on seeing all BKL use
gone from the kernel. I expect it to happen any decade now ;-) ]
Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Jeff Garzik
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Dan Williams
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Kristian Høgsberg
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Jonathan Corbet
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Dave Airlie
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Steven Rostedt
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Ingo Molnar
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- References:
- [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Steven Rostedt
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Linus Torvalds
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Ingo Molnar
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Linus Torvalds
- [RFC PATCH 0/6] Convert all tasklets to workqueues
- Prev by Date: Re: [PATCH] x86-64: disable the GART before allocate aperture
- Next by Date: Re: Kconfig troubles when using menuconfig - Was: [patch]Re: [linux-usb-devel] linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c
- Previous by thread: Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- Next by thread: Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- Index(es):