[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20090315.201053.220050794.davem@davemloft.net>
Date: Sun, 15 Mar 2009 20:10:53 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ilpo.jarvinen@...sinki.fi
Cc: netdev@...r.kernel.org, zbr@...emap.net, mingo@...e.hu
Subject: Re: [PATCH 5/7] tcp: simplify tcp_current_mss
From: "Ilpo Järvinen" <ilpo.jarvinen@...sinki.fi>
Date: Sun, 15 Mar 2009 02:07:53 +0200
> There's very little need for most of the callsites to get
> tp->xmit_goal_size updated. That will cost us divide as is,
> so slice the function in two. Also, the only users of the
> tp->xmit_goal_size are directly behind tcp_current_mss(),
> so there's no need to store that variable into tcp_sock
> at all! The drop of xmit_goal_size currently leaves 16-bit
> hole and some reorganization would again be necessary to
> change that (but I'm aiming to fill that hole with u16
> xmit_goal_size_segs to cache the results of the remaining
> divide to get that tso on regression).
>
> Bring xmit_goal_size parts into tcp.c
>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@...sinki.fi>
Applied.
--
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