[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090924.154453.230710626.davem@davemloft.net>
Date: Thu, 24 Sep 2009 15:44:53 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: shemminger@...tta.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 2/2] pktgen: better scheduler friendliness
From: Stephen Hemminger <shemminger@...tta.com>
Date: Tue, 22 Sep 2009 22:41:43 -0700
> Previous update did not resched in inner loop causing watchdogs.
> Rewrite inner loop to:
> * account for delays better with less clock calls
> * more accurate timing of delay:
> - only delay if packet was successfully sent
> - if delay is 100ns and it takes 10ns to build packet then
> account for that
> * use wait_event_interruptible_timeout rather than open coding it.
>
> Signed-off-by: Stephen Hemminger <shemminger@...tta.com>
Applied.
--
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