Re: Status of AIO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 06, 2006 at 09:07:36PM -0500, Benjamin LaHaise wrote:
> On Tue, Mar 07, 2006 at 04:04:11AM +0200, Dan Aloni wrote:
> > This somehow resembles the scatter-gatter lists already used in some 
> > subsystems such as the SCSI sg driver. 
> 
> None of the iovecs are particularly special.  What's special here is that 
> particulars of the container make the fast path *cheap*.
> 
> > BTW you have to make these pages Copy-On-Write before this procedure 
> > starts because you wouldn't want it to accidently fill the zero page, 
> > i.e. the VM will have to supply a unique set of pages otherwise it 
> > messes up.
> 
> No, that would be insanely expensive.  There's no way this would be done 
> transparently to the user unless we know that we're blocking until the 
> transmit is complete.

Sure it can't be transparent to the user, but you can just require the user 
to perform mlock on the VMA and you get around this problem.

-- 
Dan Aloni
[email protected], [email protected], [email protected], [email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux