mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Change buffer pooling to be false by default for runsc.
PiperOrigin-RevId: 463434661
This commit is contained in:
committed by
gVisor bot
parent
b18db49e9d
commit
c689b5513c
@@ -96,7 +96,7 @@ func RegisterFlags(flagSet *flag.FlagSet) {
|
||||
flagSet.Bool("rx-checksum-offload", true, "enable RX checksum offload.")
|
||||
flagSet.Var(queueingDisciplinePtr(QDiscFIFO), "qdisc", "specifies which queueing discipline to apply by default to the non loopback nics used by the sandbox.")
|
||||
flagSet.Int("num-network-channels", 1, "number of underlying channels(FDs) to use for network link endpoints.")
|
||||
flagSet.Bool("buffer-pooling", true, "enable allocation of buffers from a shared pool instead of the heap.")
|
||||
flagSet.Bool("buffer-pooling", false, "enable allocation of buffers from a shared pool instead of the heap.")
|
||||
|
||||
// Test flags, not to be used outside tests, ever.
|
||||
flagSet.Bool("TESTONLY-unsafe-nonroot", false, "TEST ONLY; do not ever use! This skips many security measures that isolate the host from the sandbox.")
|
||||
|
||||
Reference in New Issue
Block a user