| To: | Grant Grundler <grundler@xxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: patch tulip-natsemi-dp83840a-phy-fix.patch added to -mm tree |
| From: | Jeff Garzik <jgarzik@xxxxxxxxx> |
| Date: | Fri, 20 May 2005 17:34:26 -0400 |
| Cc: | akpm@xxxxxxxx, T-Bone@xxxxxxxxxxxxxxxx, varenet@xxxxxxxxxxxxxxxx, Linux Kernel <linux-kernel@xxxxxxxxxxxxxxx>, Netdev <netdev@xxxxxxxxxxx> |
| In-reply-to: | <20050520211229.GA2411@colo.lackof.org> |
| References: | <200505101955.j4AJtX9x032464@shell0.pdx.osdl.net> <42881C58.40001@pobox.com> <20050516050843.GA20107@colo.lackof.org> <4288CE51.1050703@pobox.com> <20050516222612.GD9282@colo.lackof.org> <428E3372.403@pobox.com> <20050520211229.GA2411@colo.lackof.org> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050328 Fedora/1.7.6-1.2.5 |
Grant Grundler wrote:
On Fri, May 20, 2005 at 02:58:58PM -0400, Jeff Garzik wrote: Yes, tg3 is awful in this regard. I have made a bit of progress by moving some of the stuff into a workqueue. I got multiple reports from embedded tg3 platform developers, who had to really muck up the driver to fix the delay issue. It was apparently _really_ noticeable on one embedded platform. and we are working to remove them from older drivers. No, these are commercial users. Embedded space really cares about this stuff. Ingo and the real-time crowd are fighting against every delay, because every delay causes a spin, a blip in latency, an increase in CPU usage, and a complete stoppage of ALL work on a uniprocessor machine. If you recognize the issue, you should object to new changes adding new issues! Your patch is not a special case. We have been communicating this message on udelay/mdelay for -years-. All your patch [as-is] does is cause more work for someone else.
This also presents a problem that Andrew points out on occasion:
Maintainers are not supposed to merge patches into upstream, if they have flaws still remaining to be corrected. Several people care if tulip phy init works right. OTOH, I'm only aware of one person who specifically cares if tulip is holding the CPU hostage for 1 or 2 ms during the occasional phy init.
Tons of changes are kept outside the kernel until they are ready. This is just one more example. Merging code into the kernel is a big deal. That code will have to be maintained for years, maybe decades. "when in doubt, don't merge" is generally the right answer. I don't want your patch to become an issue that embedded developers must address (like the tg3 example above), causing further patching and headache in that area. Jeff |
| Previous by Date: | Re: A new driver for Broadcom bcm5706, Jeff Garzik |
|---|---|
| Next by Date: | Re: Perf data with recent tg3 patches, Arthur Kepner |
| Previous by Thread: | Re: patch tulip-natsemi-dp83840a-phy-fix.patch added to -mm tree, Grant Grundler |
| Next by Thread: | Re: patch tulip-natsemi-dp83840a-phy-fix.patch added to -mm tree, Grant Grundler |
| Indexes: | [Date] [Thread] [Top] [All Lists] |