Change buffer pooling to be false by default for runsc.

PiperOrigin-RevId: 463434661
This commit is contained in:
Lucas Manning
2022-07-26 15:00:49 -07:00
committed by gVisor bot
parent b18db49e9d
commit c689b5513c
+1 -1
View File
@@ -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.")