[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20101124195737.GB31861@redhat.com>
Date: Wed, 24 Nov 2010 21:57:37 +0200
From: "Michael S. Tsirkin" <mst@...hat.com>
To: Tom Herbert <therbert@...gle.com>
Cc: David Miller <davem@...emloft.net>, rick.jones2@...com,
netdev@...r.kernel.org
Subject: Re: Generalizing mmap'ed sockets
On Fri, Nov 19, 2010 at 02:49:46PM -0800, Tom Herbert wrote:
> > I think the ACK (or for UDP, the kfree_skb() after TX completes) should
> > move the consumer pointer. Otherwise you have to copy, and the ACKs
> > do not clock the sender process properly.
> >
> Right, with the caveats that even ACK'ed data might still go out on
> the with that was discussed in the vmsplice() related patches. I
> don't think this should make the problem any worse.
Or any better. Sigh. Any idea how to actually track pages
in question so we can either really know when the stack is no longer
referencing them, or force a copy if they hang around after ack?
--
MST
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists