netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: apetlund@simula.no
Cc: netdev@vger.kernel.org, ilpo.jarvinen@helsinki.fi,
	eric.dumazet@gmail.com, hannemann@nets.rwth-aachen.de,
	linux-kernel@vger.kernel.org, shemminger@vyatta.com,
	william.allen.simpson@gmail.com, damian@tvk.rwth-aachen.de,
	ebiederm@xmission.com
Subject: Re: [net-next PATCH v4 1/3] net: TCP thin-stream detection
Date: Wed, 17 Feb 2010 16:32:16 -0800 (PST)	[thread overview]
Message-ID: <20100217.163216.50819747.davem@davemloft.net> (raw)
In-Reply-To: <4B7AAE60.3070305@simula.no>

From: Andreas Petlund <apetlund@simula.no>
Date: Tue, 16 Feb 2010 15:40:32 +0100

>  
> +/* Determines whether this is a thin stream (which may suffer from
> + * increased latency). Used to trigger latency-reducing mechanisms.*/
> +static inline unsigned int tcp_stream_is_thin(struct tcp_sock *tp)
> +{
> +	return tp->packets_out < 4 && !tcp_in_initial_slowstart(tp);
> +}
> +
>  /* /proc */

Please format comments:

	/* Like this.  */

or:

	/* Like this.
	 * And this.
	 */

Thanks.

  reply	other threads:[~2010-02-18  0:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-16 14:40 [net-next PATCH v4 1/3] net: TCP thin-stream detection Andreas Petlund
2010-02-18  0:32 ` David Miller [this message]
2010-02-21 10:21 ` Pavel Machek
2010-02-21 11:23   ` Alexander Zimmermann
     [not found]     ` <2EC47E8B-BC4C-4DAB-86ED-F702D67F8AD0@nokia.com>
     [not found]       ` <20100221.150311.193707249.davem@davemloft.net>
2010-02-22  6:41         ` Lars Eggert
2010-02-22 15:17           ` Andi Kleen
2010-02-22 15:35             ` Alexander Zimmermann
2010-02-22 15:40             ` Andreas Petlund
2010-02-22 15:51             ` Andreas Petlund
2010-02-22 16:06             ` Hagen Paul Pfeifer
2010-02-22 22:13             ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100217.163216.50819747.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=apetlund@simula.no \
    --cc=damian@tvk.rwth-aachen.de \
    --cc=ebiederm@xmission.com \
    --cc=eric.dumazet@gmail.com \
    --cc=hannemann@nets.rwth-aachen.de \
    --cc=ilpo.jarvinen@helsinki.fi \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=shemminger@vyatta.com \
    --cc=william.allen.simpson@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).