[PATCH mptcp-next v2 0/3] mptcp: refactor memory accounting

Paolo Abeni posted 3 patches 1 month, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/multipath-tcp/mptcp_net-next tags/patchew/cover.1634312286.git.pabeni@redhat.com
Maintainers: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>, Jamal Hadi Salim <jhs@mojatatu.com>, "David S. Miller" <davem@davemloft.net>, Matthieu Baerts <matthieu.baerts@tessares.net>, Jiri Pirko <jiri@resnulli.us>, Cong Wang <xiyou.wangcong@gmail.com>, Jakub Kicinski <kuba@kernel.org>, Mat Martineau <mathew.j.martineau@linux.intel.com>, David Ahern <dsahern@kernel.org>
include/net/sock.h   |  21 +++-
net/ipv4/af_inet.c   |   2 +-
net/ipv4/inet_diag.c |   2 +-
net/mptcp/protocol.c | 225 ++++++++++++++++++-------------------------
net/mptcp/protocol.h |  15 +--
net/sched/em_meta.c  |   2 +-
6 files changed, 117 insertions(+), 150 deletions(-)

[PATCH mptcp-next v2 0/3] mptcp: refactor memory accounting

Posted by Paolo Abeni 1 month, 3 weeks ago
This iteration address a fwd alloc memory leak.
Please see the patch 3/3 changelog for the details.

Paolo Abeni (3):
  tcp: define macros for a couple reclaim thresholds
  net: introduce sk_forward_alloc_get()
  mptcp: allocate fwd memory separatelly on the rx and tx path

 include/net/sock.h   |  21 +++-
 net/ipv4/af_inet.c   |   2 +-
 net/ipv4/inet_diag.c |   2 +-
 net/mptcp/protocol.c | 225 ++++++++++++++++++-------------------------
 net/mptcp/protocol.h |  15 +--
 net/sched/em_meta.c  |   2 +-
 6 files changed, 117 insertions(+), 150 deletions(-)

-- 
2.26.3


Re: [PATCH mptcp-next v2 0/3] mptcp: refactor memory accounting

Posted by Matthieu Baerts 1 month, 2 weeks ago
Hi Paolo, Mat,

On 15/10/2021 17:39, Paolo Abeni wrote:
> This iteration address a fwd alloc memory leak.
> Please see the patch 3/3 changelog for the details.

Thank you for looking at that!

Now in our tree with Mat's ACK/RvB tags and without a few checkpatch's
warnings (double 'control' word and ';', a few other typos, misspelled
words found by codespell and one trailing whitespace, nothing important :) )

- 58ab0f09bdde: tcp: define macros for a couple reclaim thresholds

- e3da5eca5edd: net: introduce sk_forward_alloc_get()

- 670b93a99932: mptcp: allocate fwd memory separately on the rx and tx path

- Results: b200d07c9568..88103c16472d

Builds and tests are now in progress:









https://cirrus-ci.com/github/multipath-tcp/mptcp_net-next/export/20211018T083523




https://github.com/multipath-tcp/mptcp_net-next/actions/workflows/build-validation.yml?query=branch:export/20211018T083523

Cheers,
Matt
-- 
Tessares | Belgium | Hybrid Access Solutions
www.tessares.net