Re: sendfile(2) SF_NOPUSH flag proposal

From: Terry Lambert (tlambert2_at_mindspring.com)
Date: 05/28/03

  • Next message: Igor Sysoev: "Re: sendfile(2) SF_NOPUSH flag proposal"
    Date: Tue, 27 May 2003 23:03:49 -0700
    To: Igor Sysoev <is@rambler-co.ru>
    
    

    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
    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"


  • Next message: Igor Sysoev: "Re: sendfile(2) SF_NOPUSH flag proposal"

    Relevant Pages

    • Re: FileSystemWatcher Created() delay
      ... It's using FindFirstChangeNotification. ... The flag options correspond ... In the API, ... The try clause would end by exiting the loop. ...
      (microsoft.public.dotnet.general)
    • Re: [RFC] enhancing the kernels graphics subsystem
      ... the same API. ... The existing DRM model where each driver provides it's own API is a ... The user space DRI driver then takes this API and turns it ... runs without root so I know it can be done. ...
      (Linux-Kernel)
    • Re: default parameter value
      ... > that the API change requires. ... The compiler will flag all code spots ... value on the callers side. ...
      (comp.lang.cpp)
    • Re: [PATCH] list_for_each_rcu must die: networking
      ... API entirely. ... Updated to remove the two now-unused variables as noted by Dave Miller, ... and also to fix my bonehead error detected by Kamalesh Babulal and ...
      (Linux-Kernel)
    • Re: Windows System Error on a Toshiba Tecra
      ... Insufficient system resources exist to complete the API ... claims to fix computer problems by scanning your system's registry for errors. ... Unless you are very familiar with the Windows registry, ...
      (microsoft.public.windowsxp.general)