[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080218.024348.257444630.davem@davemloft.net>
Date: Mon, 18 Feb 2008 02:43:48 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: devik@....cz
Cc: linux-kernel@...r.kernel.org, kaber@...sh.net,
netdev@...r.kernel.org
Subject: Re: [PATCH 2.6.24 1/1] sch_htb: fix "too many events" situation
From: Martin Devera <devik@....cz>
Date: Mon, 18 Feb 2008 11:08:09 +0100
> Like
> max_jiff = jiffies+2; /* not +1 at we could be at +0.9999 now */
> while (jiffies<max_jiff) do_hard_potentionaly_long_work();
> if (more_work) schedule_to_next_jiffie();
>
> This will keep event queue work load under 66% of system load which
> seems reasonable to me.
>
> Would you accept such solution ?
Sure.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists