summaryrefslogtreecommitdiff
path: root/lib/syscall.c
diff options
context:
space:
mode:
authorWen Gu <guwen@linux.alibaba.com>2024-08-14 21:08:27 +0800
committerPaolo Abeni <pabeni@redhat.com>2024-08-20 11:38:23 +0200
commite0d103542b06c36240e3887edfe49578464866eb (patch)
tree5797d50e999e52c9eb2cac75375b4aefa4bd2d5d /lib/syscall.c
parentd386d59b7c1a39112ca875327339ed519df2b96c (diff)
downloadlinux-e0d103542b06c36240e3887edfe49578464866eb.tar.gz
linux-e0d103542b06c36240e3887edfe49578464866eb.tar.bz2
linux-e0d103542b06c36240e3887edfe49578464866eb.zip
net/smc: introduce statistics for ringbufs usage of net namespace
The buffer size histograms in smc_stats, namely rx/tx_rmbsize, record the sizes of ringbufs for all connections that have ever appeared in the net namespace. They are incremental and we cannot know the actual ringbufs usage from these. So here introduces statistics for current ringbufs usage of existing smc connections in the net namespace into smc_stats, it will be incremented when new connection uses a ringbuf and decremented when the ringbuf is unused. Signed-off-by: Wen Gu <guwen@linux.alibaba.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'lib/syscall.c')
0 files changed, 0 insertions, 0 deletions