Re: [PATCH] core: Call net_tx_action only if work pending

2007-05-08 Thread Krishna Kumar2
Agreed :) - KK David Miller <[EMAIL PROTECTED]> wrote on 05/09/2007 07:29:52 AM: > From: Krishna Kumar <[EMAIL PROTECTED]> > Date: Tue, 08 May 2007 13:01:30 +0530 > > > Optimize call to net_tx_action only if work is pending. > > > > Patch against net-2.6.22.git > > > > Signed-off-by: Krishna Kum

Re: [PATCH] core: Call net_tx_action only if work pending

2007-05-08 Thread David Miller
From: Krishna Kumar <[EMAIL PROTECTED]> Date: Tue, 08 May 2007 13:01:30 +0530 > Optimize call to net_tx_action only if work is pending. > > Patch against net-2.6.22.git > > Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]> I don't think downing a cpu is done so often as to justify this microscop

[PATCH] core: Call net_tx_action only if work pending

2007-05-08 Thread Krishna Kumar
Optimize call to net_tx_action only if work is pending. Patch against net-2.6.22.git Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]> --- diff -ruNp org/net/core/dev.c new/net/core/dev.c --- org/net/core/dev.c 2007-04-09 12:43:15.0 +0530 +++ new/net/core/dev.c 2007-04-09 12:43:42.00