bug in big pipe code causing performance problems
    Pierre Beyssac 
    pb at fasterix.frmug.org
       
    Wed Jul 30 14:55:41 PDT 2003
    
    
  
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 at fasterix.frmug.org pb at fasterix.freenix.org
    Free domains: http://www.eu.org/ or mail dns-manager at EU.org
    
    
More information about the freebsd-current
mailing list