Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 11/29/2007 17:52:27
Module Name:	src
Committed By:	ad
Date:		Thu Nov 29 17:52:27 UTC 2007

Modified Files:
	src/sys/kern: sys_aio.c

Log Message:
Use atomics to maintain aio_jobs_count. XXX There is still a race, we
should should use atomic_inc_uint_nv() before setup to ensure that we
don't exceed the max number of concurrent jobs.


To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 src/sys/kern/sys_aio.c

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