From owner-freebsd-arch@FreeBSD.ORG Tue May 27 23:05:02 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E65E37B401 for ; Tue, 27 May 2003 23:05:02 -0700 (PDT) Received: from heron.mail.pas.earthlink.net (heron.mail.pas.earthlink.net [207.217.120.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBA7843F3F for ; Tue, 27 May 2003 23:05:01 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from user-38ldvsn.dialup.mindspring.com ([209.86.255.151] helo=mindspring.com) by heron.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19Ku3V-0001RW-00; Tue, 27 May 2003 23:04:58 -0700 Message-ID: <3ED45145.5389980@mindspring.com> Date: Tue, 27 May 2003 23:03:49 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Igor Sysoev References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a44ca7e6f85b35fe7a8b164c831da3d180350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c cc: arch@freebsd.org Subject: Re: sendfile(2) SF_NOPUSH flag proposal X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2003 06:05:02 -0000 Igor Sysoev wrote: > > I don't think overhead is the issue, at this point: say we agree > > with you on overhead, for your particular application, and we are > > not against you solving your overhead problem: why exactly does > > the API have to change to fix the root cause of the problem? > > I do not propose the change of the API, I propose the source and binary > compatible addition. The "Subject:" line says you want to add a flag. This is binary backward compatible, but it is not binary portable, and it is not source portable to systems that use your flag. What happens when you want to recompile or run your code that uses the new flag on NetBSD, Darwin, MacOS X, etc.? I'll tell you what happens: you get a compilation error with an undefined variable. -- Terry