Re: bug in big pipe code causing performance problems

From: Pierre Beyssac (pb_at_fasterix.frmug.org)
Date: 07/30/03

  • Next message: Mike Silbersack: "Re: bug in big pipe code causing performance problems"
    Date: Wed, 30 Jul 2003 23:55:38 +0200
    To: freebsd-current@freebsd.org
    
    

    On Wed, Jul 30, 2003 at 11:32:49PM +0200, Pierre Beyssac wrote:
    > - if (space > 0 && (wpipe->pipe_buffer.cnt < PIPE_SIZE)) {
    > + if (space > 0
    > + && wpipe->pipe_buffer.cnt < wpipe->pipe_buffer.size) {

    PS : not-so-obvious after all since the above is equivalent to
    "(space > 0)" by itself, so I won't commit the above as is, and the
    real fix might be something more complicated...

    -- 
    Pierre Beyssac	      	    pb@fasterix.frmug.org pb@fasterix.freenix.org
        Free domains: http://www.eu.org/ or mail dns-manager@EU.org
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Mike Silbersack: "Re: bug in big pipe code causing performance problems"