Subject: Re: Pipes 1.1, bugfix available
To: =?iso-8859-1?Q?Jarom=EDr_Dolecek?= <jdolecek@netbsd.org>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-kern
Date: 04/10/2001 07:55:00
On Tue, Apr 10, 2001 at 10:39:58AM +0200, Jaromír Dolecek wrote:

 > Also an idea:
 > How evil is to do uiomove() to the reader's uio from within the writer's
 > process context? The context switch there seems like unnecessary and the
 > synchronization code adds quite some overhead.

uiomove() uses copyin/copyout, which only works in the destination
process's context.  So, you have to switch to the target process in
order to use it.

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>