Re: [PATCH v3] xmit_compl_seq: information to reclaim vmsplice buffers

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Monday, September 27, 2010 - 12:12 pm

Le lundi 27 septembre 2010 à 11:38 -0700, Tom Herbert a écrit :

Hmm, thats a serious problem IMHO. This would need destructor on data,
not on skb (see previous discussion about early skb_orphan and
af_packet)

Then, it needs to handle an ordered list of packets in flight, to be
able to return the sequence of the first packet.

Alternative would be to copy data on retransmits, for tcp sockets using
SOCK_XMIT_COMPL_SEQ. (ie not using skb_clone but skb_copy())




--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH v3] xmit_compl_seq: information to reclaim vmsp ..., Michael S. Tsirkin, (Mon Sep 27, 10:23 am)
Re: [PATCH v3] xmit_compl_seq: information to reclaim vmsp ..., Eric Dumazet, (Mon Sep 27, 12:12 pm)