summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp.c
diff options
context:
space:
mode:
authorWillem de Bruijn2017-08-03 22:29:43 +0200
committerDavid S. Miller2017-08-04 06:37:30 +0200
commita91dbff551a6f1865b68fa82b654591490b59901 (patch)
tree89d57387331da71c174bff7d3d840c7f39b30e83 /net/ipv4/tcp.c
parentsock: MSG_ZEROCOPY notification coalescing (diff)
downloadkernel-qcow2-linux-a91dbff551a6f1865b68fa82b654591490b59901.tar.gz
kernel-qcow2-linux-a91dbff551a6f1865b68fa82b654591490b59901.tar.xz
kernel-qcow2-linux-a91dbff551a6f1865b68fa82b654591490b59901.zip
sock: ulimit on MSG_ZEROCOPY pages
Bound the number of pages that a user may pin. Follow the lead of perf tools to maintain a per-user bound on memory locked pages commit 789f90fcf6b0 ("perf_counter: per user mlock gift") Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp.c')
0 files changed, 0 insertions, 0 deletions