From f2ef972c8cf26caf2614b7955342a22c50d1d3ba Mon Sep 17 00:00:00 2001 From: dyson Date: Sun, 30 Nov 1997 21:47:36 +0000 Subject: Fix an spl nit. --- sys/kern/vfs_aio.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sys/kern/vfs_aio.c') diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c index c1f619a..c52d970 100644 --- a/sys/kern/vfs_aio.c +++ b/sys/kern/vfs_aio.c @@ -13,7 +13,7 @@ * bad that happens because of using this software isn't the responsibility * of the author. This software is distributed AS-IS. * - * $Id: vfs_aio.c,v 1.13 1997/11/29 02:57:46 dyson Exp $ + * $Id: vfs_aio.c,v 1.14 1997/11/30 04:36:31 dyson Exp $ */ /* @@ -467,6 +467,11 @@ restart2: goto restart2; } +/* + * Note the use of lots of splbio here, trying to avoid + * splbio for long chains of I/O. Probably unnecessary. + */ + restart3: s = splbio(); while (TAILQ_FIRST(&ki->kaio_bufqueue)) { @@ -475,6 +480,7 @@ restart3: splx(s); goto restart3; } + splx(s); restart4: s = splbio(); -- cgit v1.1