mbox series

[RFC,0/1] Optimize mptcp_received_options

Message ID 20191114060154.3451-1-peter.krystad@linux.intel.com
Headers show
Series Optimize mptcp_received_options | expand

Message

Peter Krystad Nov. 14, 2019, 6:01 a.m. UTC
This reduces the size from 104 to 32, at the cost of some loss of
clarity. I deliberately did not change the names of any fields,
reducing the impact on code (and the squasher).

This also seems like a good opportunity to remove all of the pr_debug()
statements from options processing which occupy so much of the log.

Peter Krystad (1):
  mptcp: Optimize struct mptcp_received_options.

 include/linux/tcp.h  |  97 ++++++++++++++++++++++++----------------
 net/mptcp/options.c  | 102 ++++++++++++++++++++++++-------------------
 net/mptcp/pm.c       |   2 +-
 net/mptcp/protocol.h |   2 +-
 4 files changed, 118 insertions(+), 85 deletions(-)