aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2010-01-25 15:47:50 -0800
committerDavid S. Miller <davem@davemloft.net>2010-01-25 15:47:50 -0800
commitf81074f86176605bfbfafb9944e27628a4e26ce6 (patch)
treeea963e08a132523327986c99ea63768593d5701a /Documentation/filesystems
parent4f9a91c81273b66afe0b6a9be460b47581b28246 (diff)
downloadkernel_samsung_crespo-f81074f86176605bfbfafb9944e27628a4e26ce6.zip
kernel_samsung_crespo-f81074f86176605bfbfafb9944e27628a4e26ce6.tar.gz
kernel_samsung_crespo-f81074f86176605bfbfafb9944e27628a4e26ce6.tar.bz2
tcp_probe: avoid modulus operation and wrap fix
By rounding up the buffer size to power of 2, several expensive modulus operations can be avoided. This patch also solves a bug where the gap need when ring gets full was not being accounted for. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/filesystems')
0 files changed, 0 insertions, 0 deletions