[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20111028.171904.1635229691857703124.davem@davemloft.net>
Date: Fri, 28 Oct 2011 17:19:04 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: dbaluta@...acom.com
Cc: eric.dumazet@...il.com, kuznet@....inr.ac.ru, jmorris@...ei.org,
yoshfuji@...ux-ipv6.org, kaber@...sh.net, netdev@...r.kernel.org,
luto@...capital.net, rick.jones2@...com
Subject: Re: [RFC v2] tcp: Export TCP Delayed ACK parameters to user
From: Daniel Baluta <dbaluta@...acom.com>
Date: Sat, 29 Oct 2011 00:14:03 +0300
> +static inline int tcp_delack_thresh(const struct sock *sk)
> +{
> + return inet_csk(sk)->icsk_ack.rcv_mss * sysctl_tcp_delack_segs;
> +}
> +
Please turn this into a shift or something, you're adding a multiply
into a core code path.
--
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