lkml.org 
[lkml]   [2001]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [patch] softirq performance fixes, cleanups, 2.4.10.
Date
Hello!

> unless you have strong arguments against this approach, i will start
> coding this. It's a pretty intrusive change, because all current softirq
> users will have to agree on a generic event format + callback that can be
> queued. This has to be embedded into skbs and bh-handling structs. What do
> you think?

Why skbs?

Anyway, scheme sort of:

do_softirq()
{
start = jiffies;

while (dequeue()) {
if (jiffies - start > 1)
goto wakeup_ksoftirq
process();
}
}

and raise_softirq() enqueuing event to tail, if it is still not queued
is nice, not intrusive and very easy.

Only "skbs" scares me. :-)

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

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.113 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site