On Tue, Jun 10, 2003 at 01:16:17PM -0400, Jeff Garzik wrote: > On Tue, Jun 10, 2003 at 10:02:09AM -0700, David S. Miller wrote: > > From: Jeff Garzik <jgarzik@pobox.com> > > Date: Tue, 10 Jun 2003 12:23:42 -0400 > > > > I prefer a compile-time test. > > > > This means end users don't see the benefit, so I definitely > > prefer Andi's idea. > > Making every IO a conditional branch? Ug. An IO takes hundreds or even thousands of cycles. The test and branch is completely lost in the noise. I bet you won't be able to measure a difference on any modern CPU. -Andi - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html