From: Jeff Garzik <jeff@garzik.org> Date: Tue, 25 Mar 2008 23:48:20 -0400First, if you mention CPU instructions executed you're totally ignoring what I wrote. Which is that we're about to sit spinning on hundreds of cycles doing a PIO read on a status register. Those hand full of cycles doing the irqsave/irqrestore don't matter, at all. Again, you're arguing for 18 cycles or so out of say 800. It's peanuts, at best. Secondly, this isn't a hot path. The "hot path" is in the ->poll() handler which does all of the real packet RX work. And that runs lockless, in software interrupt context. The HW interrupt handler's cost is lower bound by the cost of doing a PIO on the status register, it's impractical to perform any micro-optimizations of any sort here. Especially those that sacrifice consistency. --
| Artem Bityutskiy | [PATCH 10/44 take 2] [UBI] debug unit implementation |
| Jeremy Fitzhardinge | [PATCH 03 of 36] x86: add memory barriers to wrmsr |
| Zachary Amsden | Re: [patch 13/26] Xen-paravirt_ops: Consistently wrap paravirt ops callsites to ma... |
| Justin Mattock | macbook pro dvd playback after suspend Buffer I/O error |
git: | |
| David Kastrup | Empty directories... |
| Johannes Schindelin | Re: [PATCH 1/4] Move redo merge code in a function |
| Jeff King | Re: detecting rename->commit->modify->commit |
| Pierre Habouzit | Re: [RFC] git integrated bugtracking |
| David Higgs | Re: Using the C programming language |
| Chris Bullock | OpenBSD isakmpd and pf vs Cisco PIX or ASA |
| Richard Stallman | Real men don't attack straw men |
| Chris S | Re: No text cursor on OpenBSD/i386 4.1 |
| Jojie R. T. | Re: SLS |
| Peter MacDonald | demand paging: proposal |
| Theodore Ts'o | Re: Stabilizing Linux |
| Doug Evans | Re: Stabilizing Linux |
| Battery Maximizer Software | 8 hours ago | Linux kernel |
| windows folder creation surprise | 10 hours ago | Windows |
| Problem in scim in Fedora 9 | 11 hours ago | Linux general |
| Firewall | 1 day ago | OpenBSD |
| IP layer send packet | 1 day ago | Linux kernel |
| dtrace for linux available | 2 days ago | Linux kernel |
| Unable to mount ramdisk image using UBoot while upgrading to 2.6.15 kernel for a MPC8540 based target | 2 days ago | Linux kernel |
| RealTek RTL8169 - can't connect | 2 days ago | NetBSD |
| vsftpd Upload Problems | 2 days ago | Linux general |
| creating con folder in desktop | 3 days ago | Windows |
