[lkml]   [2006]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: support for sata7 Streaming Feature Set?
Jeff Garzik wrote:
> Tejun Heo wrote:
>> One thing to think about before supporting streaming from/to harddisks
>> from userland is how to make data flow efficiently from userland to
>> kernel and back. But, no matter what, kernel <-> userland usually
>> involves one data copy, so I don't think making sg similarly efficient
>> would be too difficult (it might be already).
> Actually, the kernel usually maps userland pages, eliminating the need
> for a copy. write(2) may have copied data into that page originally,
> but mmap(2) need not have.

Yeap, to achieve high streaming rate, it would be best to have
preallocated ring buffer and ring pointers. If this high-bw streaming
thing becomes common, we can add it to sg, I guess.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-05-19 01:15    [W:0.042 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site