aboutsummaryrefslogtreecommitdiff
path: root/include/linux/security.h
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2013-10-25 10:21:32 +0200
committerMoyster <oysterized@gmail.com>2016-08-26 19:15:09 +0200
commit3df514349466871f8ed8b1a6a0fa8a4aa8ce9b53 (patch)
treea4975f24bc4d6f8466e3bd4c0b37d72ea94c6895 /include/linux/security.h
parent0316c381a1be9b991fe0822e815e29f4a6a3e983 (diff)
xfrm: Increase the garbage collector threshold
commit eeb1b73378b560e00ff1da2ef09fed9254f4e128 upstream. With the removal of the routing cache, we lost the option to tweak the garbage collector threshold along with the maximum routing cache size. So git commit 703fb94ec ("xfrm: Fix the gc threshold value for ipv4") moved back to a static threshold. It turned out that the current threshold before we start garbage collecting is much to small for some workloads, so increase it from 1024 to 32768. This means that we start the garbage collector if we have more than 32768 dst entries in the system and refuse new allocations if we are above 65536. Reported-by: Wolfgang Walter <linux@stwm.de> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Cc: Stephen Hemminger <shemming@brocade.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Stefan Guendhoer <stefan@guendhoer.com>
Diffstat (limited to 'include/linux/security.h')
0 files changed, 0 insertions, 0 deletions