summaryrefslogtreecommitdiff
path: root/lib/elf_py.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-07-21 13:10:03 -0400
committerDonald Sharp <sharpd@nvidia.com>2023-07-21 13:10:03 -0400
commitbdc17624059c1722e5208523cb06fe9b0ed7acb2 (patch)
treef8a059a6caf80f615a9eefc35d7394a8fe220031 /lib/elf_py.c
parent4215e8011b52abaccc96198cb8fa6d7034521dc9 (diff)
bgpd: Replace peer->ibuf_scratch
The peer->ibuf_scratch was allocating 65535 * 10 bytes for scratch space to hold data incoming from a read from a peer. When you have 4k peers this is 262,1400,000 or 262 mb of data. Which is crazy large. Especially since the i/o pthread is reading per peer without any chance of having the data interfere with other reads. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/elf_py.c')
0 files changed, 0 insertions, 0 deletions