diff options
author | David S. Miller <davem@davemloft.net> | 2011-05-06 15:02:07 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-06 15:37:57 -0700 |
commit | bdc712b4c2baf9515887de3a52e7ecd89fafc0c7 (patch) | |
tree | 3ce09227fb75593256403eaa459d178a2668db25 /scripts/cleanpatch | |
parent | ad638bd16d91012a512979327b5c17c867d260c6 (diff) | |
download | kernel_samsung_smdk4412-bdc712b4c2baf9515887de3a52e7ecd89fafc0c7.zip kernel_samsung_smdk4412-bdc712b4c2baf9515887de3a52e7ecd89fafc0c7.tar.gz kernel_samsung_smdk4412-bdc712b4c2baf9515887de3a52e7ecd89fafc0c7.tar.bz2 |
inet: Decrease overhead of on-stack inet_cork.
When we fast path datagram sends to avoid locking by putting
the inet_cork on the stack we use up lots of space that isn't
necessary.
This is because inet_cork contains a "struct flowi" which isn't
used in these code paths.
Split inet_cork to two parts, "inet_cork" and "inet_cork_full".
Only the latter of which has the "struct flowi" and is what is
stored in inet_sock.
Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions