summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/Support/Unix/Memory.inc
diff options
context:
space:
mode:
authoreri <eri@FreeBSD.org>2015-07-03 15:31:56 +0000
committereri <eri@FreeBSD.org>2015-07-03 15:31:56 +0000
commitaa0e535a516e906fab874cc8609c684f7726a821 (patch)
tree55ea0e8400e859e69f67448ec59b04c9e7310404 /contrib/llvm/lib/Support/Unix/Memory.inc
parent8cdae428f2b0024e91f869ecbc0b0f8e7e80ed5c (diff)
downloadFreeBSD-src-aa0e535a516e906fab874cc8609c684f7726a821.zip
FreeBSD-src-aa0e535a516e906fab874cc8609c684f7726a821.tar.gz
Reduce overhead of IPSEC for traffic generated from host
When IPSEC is enabled on the kernel the forwarding path has an optimization to not enter the code paths for checking security policies but first checks if there is any security policy active at all. The patch introduces the same optimization but for traffic generated from the host itself. This reduces the overhead by 50% on my tests for generated host traffic without and SP active. Differential Revision: https://reviews.freebsd.org/D2980 Reviewed by: ae, gnn Approved by: gnn(mentor)
Diffstat (limited to 'contrib/llvm/lib/Support/Unix/Memory.inc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud