[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <D5C1322C3E673F459512FB59E0DDC32903FC5AF9@orsmsx414.amr.corp.intel.com>
Date: Thu, 15 Nov 2007 12:57:42 -0800
From: "Waskiewicz Jr, Peter P" <peter.p.waskiewicz.jr@...el.com>
To: "Krishna Kumar" <krkumar2@...ibm.com>
Cc: <netdev@...r.kernel.org>, <davem@...emloft.net>
Subject: RE: [PATCH] PATCH 1/2 [SCHED 2.6.24]: Check subqueue status before calling hard_start_xmit
> You could optimize this by getting HARD_TX_LOCK after the
> check. I assume that netif_stop_subqueue (from another CPU)
> would always be called by the driver xmit, and that is not
> possible since we hold the __LINK_STATE_QDISC_RUNNING bit.
> Does that sound correct?
Sorry for not responding sooner; Dave hit it on the head though with his
response. I agree with your changes, and I'll incorporate them in the
lockless stack patches I've been working on (in the software queuing
mode). Now if I could just find some time to finish them up and get
them out for review...
Thanks,
-PJ Waskiewicz
-
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