[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1298957818.2676.15.camel@edumazet-laptop>
Date: Tue, 01 Mar 2011 06:36:58 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: Albert Cahalan <acahalan@...il.com>
Cc: John Heffner <johnwheffner@...il.com>,
"John W. Linville" <linville@...driver.com>,
Jussi Kivilinna <jussi.kivilinna@...et.fi>,
Mikael Abrahamsson <swmike@....pp.se>,
linux-kernel <linux-kernel@...r.kernel.org>,
netdev@...r.kernel.org
Subject: Re: txqueuelen has wrong units; should be time
Le mardi 01 mars 2011 à 06:01 +0100, Eric Dumazet a écrit :
> Le lundi 28 février 2011 à 23:11 -0500, Albert Cahalan a écrit :
>
> > It sounds like you need a callback or similar, so that TCP can be
> > informed later that the drop has occurred.
>
> There is the thing called skb destructor / skb_orphan() mess, that is
> not stackable... Might extend this to something more clever, and be able
> to call functions (into TCP stack for example) giving a status of skb :
> Sent, or dropped somewhere in the stack...
>
One problem of such schem is the huge extra cost involved, extra
locking, extra memory allocations, extra atomic operations...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists