login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
15
Re: [RFC][PATCH][NET] Fix never pruned tcp out-of-order queue
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Vitaliy Gusev <vgusev@...>
To: Alexey Kuznetsov <kuznet@...>
Cc: Andi Kleen <andi@...>, David Miller <davem@...>, <linux-kernel@...>
Subject:
Re: [RFC][PATCH][NET] Fix never pruned tcp out-of-order queue
Date: Tuesday, April 15, 2008 - 9:47 am
On 15 April 2008 15:59:24 Alexey Kuznetsov wrote:
quoted text
> Hello! > > > I still think the guards are pretty much the same as before, sorry:) > > Guards inside tcp_prune_queue() are the same exactly. > > But the patch adds the second point where out-of-order queue is discarded. > It is when the socket is under rcvbuf, but nevertheless skb cannot > be queued due to system-wide limit. In that case out-of-order queue > is dropped and the limits are rechecked. > > > > But why not repeat the whole prune for all cases in this case then? > > Collapsing and tuning rcv_ssthresh was done once, they are not guarded > by rcvbuf check. So, repeating those steps would be useless. > > The only thing is: > > > e.g. you should probably at least repeat the third step (setting > > pred_flags to 0) too. > > Formally, this is correct. But this is not necessary, pred_flags reset > is redundant even in the first place. The fast path is not so fast, > memory limit is checked explicitly there. > > > The patch is not perfect. F.e. tcp_prune_ofo_queue() could see empty > out-of-order queue, in this case the second sk_stream_rmem_schedule() > is useless and could be skipped. But it is the second order effect. > > I think this will work.
Thanks for comments. I will correct second call sk_stream_rmem_schedule() and resend new patch. -- Thank, Vitaliy Gusev --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[RFC][PATCH][NET] Fix never pruned tcp out-of-order queue
, Vitaliy Gusev
, (Mon Apr 14, 1:21 pm)
Re: [RFC][PATCH][NET] Fix never pruned tcp out-of-order queue
, Andi Kleen
, (Tue Apr 15, 3:59 am)
Re: [RFC][PATCH][NET] Fix never pruned tcp out-of-order queue
, David Miller
, (Tue Apr 15, 4:01 am)
Re: [RFC][PATCH][NET] Fix never pruned tcp out-of-order queue
, Andi Kleen
, (Tue Apr 15, 4:14 am)
Re: [RFC][PATCH][NET] Fix never pruned tcp out-of-order queue
, David Miller
, (Tue Apr 15, 4:18 am)
Re: [RFC][PATCH][NET] Fix never pruned tcp out-of-order queue
, Vitaliy Gusev
, (Tue Apr 15, 4:26 am)
Re: [RFC][PATCH][NET] Fix never pruned tcp out-of-order queue
, Andi Kleen
, (Tue Apr 15, 4:30 am)
Re: [RFC][PATCH][NET] Fix never pruned tcp out-of-order queue
, Alexey Kuznetsov
, (Tue Apr 15, 7:59 am)
Re: [RFC][PATCH][NET] Fix never pruned tcp out-of-order queue
, Vitaliy Gusev
, (Tue Apr 15, 9:54 am)
Re: [RFC][PATCH][NET] Fix never pruned tcp out-of-order queue
, Vitaliy Gusev
, (Tue Apr 15, 9:47 am)
Re: [RFC][PATCH][NET] Fix never pruned tcp out-of-order queue
, Vitaliy Gusev
, (Tue Apr 15, 5:33 am)
Re: [RFC][PATCH][NET] Fix never pruned tcp out-of-order queue
, David Miller
, (Tue Apr 15, 3:34 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg Kroah-Hartman
[PATCH 006/196] Chinese: add translation of oops-tracing.txt
Luciano Rocha
usb hdd problems with 2.6.27.2
Roland Dreier
Re: Integration of SCST in the mainstream Linux kernel
git
:
linux-netdev
:
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
David Miller
[GIT]: Networking
Natalie Protasevich
[BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
513 guests
online.
Online users
strcmp
Syndicate