Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jul 2003 12:04:22 -0500 (CDT)
From:      Mike Silbersack <silby@silby.com>
To:        Bosko Milekic <bmilekic@technokratis.com>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern sys_pipe.c
Message-ID:  <20030711120225.D1081@odysseus.silby.com>
In-Reply-To: <20030711122818.GA7755@technokratis.com>
References:  <200307092159.h69LxmR3001446@repoman.freebsd.org> <20030711122818.GA7755@technokratis.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Fri, 11 Jul 2003, Bosko Milekic wrote:

> >   - Use atomic ops to update the bigpipe count
> >   - Make the bigpipe count sysctl readable
>       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>          Can all these global variables (especially those manipulated at
> 	 the same time) perhaps all be protected by a single mutex (or
> 	 manipulated under an existing mutex) instead of all being done
> 	 bus-locked, one after the other?

Possibly, but the entire locking strategy needs to be reexamined, so
trying to deal with those atomic ops first would be a waste of time.

Mike "Silby" Silbersack



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030711120225.D1081>