From c689b5513cb7f831dfd126c8920d2b87fa331d99 Mon Sep 17 00:00:00 2001 From: Lucas Manning Date: Tue, 26 Jul 2022 14:57:53 -0700 Subject: [PATCH] Change buffer pooling to be false by default for runsc. PiperOrigin-RevId: 463434661 --- runsc/config/flags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runsc/config/flags.go b/runsc/config/flags.go index fab012546..513d66397 100644 --- a/runsc/config/flags.go +++ b/runsc/config/flags.go @@ -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.")