]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: define macros for a couple reclaim thresholds
authorPaolo Abeni <pabeni@redhat.com>
Tue, 26 Oct 2021 23:29:13 +0000 (16:29 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 28 Oct 2021 01:20:29 +0000 (18:20 -0700)
commit9e682ff95eaf87e2e9ab9a3613559b458221f295
tree4580981d96cdbb330324800e1ba98989a7ec0c2f
parentf0091868dea18e776ffaa88622a5e004e8d9719f
tcp: define macros for a couple reclaim thresholds

A following patch is going to implement a similar reclaim schema
for the MPTCP protocol, with different locking.

Let's define a couple of macros for the used thresholds, so
that the latter code will be more easily maintainable.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/sock.h