Re: sendfile(2) SF_NOPUSH flag proposal

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

  • Next message: Terry Lambert: "Re: sendfile(2) SF_NOPUSH flag proposal"
    Date: Thu, 29 May 2003 08:36:59 -0700
    To: Igor Sysoev <is@rambler-co.ru>
    
    

    Igor Sysoev wrote:
    > On Wed, 28 May 2003, Terry Lambert wrote:
    > > Igor Sysoev wrote:
    > > > > will result in you sleeping with PRUS_MORETOCOME set, but with
    > > > > no more being sent because the send buffer doesn't get emptied,
    > > > > as it's waiting for more data to send.
    > > >
    > > > But as I understand PRUS_MORETOCOME is not set if socket is non-blocking.
    > >
    > > Then the bug is still not fixed by setting it, since your total
    > > send size might be less than `sysctl net.inet.tcp.sendspace`.
    >
    > Why ? We can reset TF_MORETOCOME if the sending is completed.

    It's called a "deadly embrace" deadlock. Look it up.

    -- 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: Terry Lambert: "Re: sendfile(2) SF_NOPUSH flag proposal"

    Relevant Pages

    • Re: sendfile(2) SF_NOPUSH flag proposal
      ... On Wed, 28 May 2003, Terry Lambert wrote: ... > Then the bug is still not fixed by setting it, ... We can reset TF_MORETOCOME if the sending is completed. ... To unsubscribe, ...
      (freebsd-arch)
    • Re: Warning on migrating to ATMega8515 - eeprom problem
      ... >> Yes, probably a bug, but it is questionable if it is serious. ... >> It is generally a good practice to avoid relying on reset values. ... Conditional compilation is one way. ... You can thus run the compiled result of the same source code on both CPUs ...
      (comp.arch.embedded)
    • Re: [PATCH] sata_nv.c, dont have libata perform phy reset
      ... > bug database. ... we keep libata from performing the phy reset. ... > phy reset sometimes results in the busy bit failing to deassert. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Login Attempts are cumulative on su-only accounts
      ... As far as I know this is not a bug; it's just the way it's always worked. ... so the unsuccessful login count is not reset. ... One way is to beat up the people who are trying to log in, and failing: ...
      (AIX-L)
    • Re: Comments on LifeDrive Update v2.00
      ... I have many reset every day: sometimes it is sufficient I launch an app, sometimes it reset on bt connection... ... I use Versamail a lot and am happy with it. ... This bug is ... Since Palm claims that Versamail 3.1C should handle big attachments ...
      (comp.sys.palmtops.pilot)