cvs commit: src/sys/kern sys_pipe.c

Mike Silbersack silby at silby.com
Fri Jul 11 10:04:46 PDT 2003


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


More information about the cvs-src mailing list