Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Dec 1997 15:51:16 -0600
From:      Jonathan Lemon <jlemon@americantv.com>
To:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Cc:        John Dyson <dyson@freebsd.org>, current@freebsd.org
Subject:   Re: cvs commit: src/sys/kern vfs_aio.c
Message-ID:  <19971201155116.18825@right.PCS>
In-Reply-To: <199712012017.PAA01433@khavrinen.lcs.mit.edu>; from Garrett Wollman on Dec 12, 1997 at 03:17:41PM -0500
References:  <199712011841.KAA14631@freefall.freebsd.org> <199712012017.PAA01433@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 12, 1997 at 03:17:41PM -0500, Garrett Wollman wrote:
> <<On Mon, 1 Dec 1997 10:41:09 -0800 (PST), John Dyson <dyson@FreeBSD.ORG> said:
> 
> >   Fix a problem when creating a new kernel thread.  In some cases, aio_read
> >   or aio_write can return the pid of the new thread.  This is due to the
> >   way that return values from system calls being passed by side-effect in
> >   the proc structure now.  This commit fixes the problem with aio_read and
> >   aio_write.
>   
> This is an example of why said change was a mistake...

I never did get around to asking, so I guess this might be a good time as
any; why were the retvals moved into the proc structure in the first place?
I assume for performance reasons, but I don't recall seeing any discussion
about it on the lists.
--
Jonathan



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