Subject: Re: Pipes 1.1, bugfix available
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-kern
Date: 04/10/2001 08:54:08
On Tue, Apr 10, 2001 at 11:01:10AM -0400, der Mouse wrote:

 > Why would it do that?  I can see some possible reasons:
 > 
 > - Maybe the uio doesn't know what address space it's for.

It knows what address space it belongs to, but like I said in my mail,
it uses copyout(), which only works on "current context".

It *could* be changed to use uvm_io(), but uvm_io() requires a fair
bit of TLB frobbing and consumes KVA space, so it may be more overhead
to use uvm_io() in some situations.

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