lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 20 Dec 2007 21:40:17 -0800 (PST) From: David Miller <davem@...emloft.net> To: dada1@...mosbay.com Cc: netdev@...r.kernel.org Subject: Re: [TCP] Avoid two divides in tcp_output.c From: Eric Dumazet <dada1@...mosbay.com> Date: Fri, 21 Dec 2007 06:34:28 +0100 > Because 'free_space' variable in __tcp_select_window() is signed, > expression (free_space / 2) forces compiler to emit an integer divide. > > This can be changed to a plain right shift, less expensive. > > Signed-off-by: Eric Dumazet <dada1@...mosbay.com> Applied to net-2.6.25, thanks Eric. -- 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