[lkml]   [2008]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH][RFC 23/23]: Support for zero-copy TCP transmit of user space data
Evgeniy Polyakov wrote:
> On Fri, Dec 19, 2008 at 12:21:41PM -0800, Jeremy Fitzhardinge ( wrote:
>> I think Rusty has a patch to put some kind of put notifier in struct
>> skb_shared_info, but I'm not sure of the details.
> Yes, he added destructor callback into shared info.
> There maybe a problem though, if iscsi will run over xen network, but in
> this case xen may copy the data, or iscsi may do that after determining
> that underlying network device does not allow shared info destructor
> (vis device/route flag for example).

Xen only needs the callback in the case of traffic originating in
another Xen domain. If iscsi is involved, it will be running in the
other domain, and so all its callbacks and so on will happen there.
There's no conflict.

>> Wouldn't you only need to do the lookup on the last put?
>> An external lookup table might well for for us, if the net_put_page()
>> change is acceptable to the network folk.
> That sounds like the best solution for this problem.

An external lookup would just need to change put_page -> net_put_page, I

> David, will you accept shared info destructor?

I'm not very familiar with the network stack, but am I right in assuming
that the shared_info destructor would be called when the network stack
has finished with all the pages it refers to? And those pages could be
the combination of pages separately submitted in different skbs?


 \ /
  Last update: 2008-12-19 23:23    [W:0.117 / U:1.732 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site