Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core.packet: Extend max packets from 100K to 1M
Packets are allocated dynamically on demand and this is only an artifical limit of "more than anybody should ever need" for catching unbounded allocations (leaks). (The limit also serves to make the freelist simple i.e. a fixed-size array.) The previous value of 100,000 is too low to serve its purpose: it is reasonable to allocate more than 100,000 packet buffers when managing many network receive queues and wanting to avoid packet drops. See discussion at: #882 (comment)
- Loading branch information