Subject: CVS commit: src/sys
To: None <source-changes@netbsd.org>
From: Paul Kranenburg <pk@netbsd.org>
List: source-changes
Date: 02/12/2003 23:54:17
Module Name:	src
Committed By:	pk
Date:		Wed Feb 12 21:54:16 UTC 2003

Modified Files:
	src/sys/kern: sys_pipe.c
	src/sys/sys: pipe.h

Log Message:
Make the pipe code mostly MP-safe.  There are a few unaddressed race
conditions at points where it's necessary to access both the up-stream
and down-stream parts of the bi-directional pipe data structure. These
are marked `XXXSMP' in the code.

Also, since the changes are pretty invasive, there little point in keeping
all the "#ifdef FreeBSD" code around; so all of that has been stripped out.


To generate a diff of this commit:
cvs rdiff -r1.34 -r1.35 src/sys/kern/sys_pipe.c
cvs rdiff -r1.12 -r1.13 src/sys/sys/pipe.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.