On 5/16/2022 4:28 PM, Stephen Hemminger wrote:
On Mon, 16 May 2022 15:50:04 -0400
Don Wallwork <d...@xsightlabs.com> wrote:
+static int
+eal_parse_huge_worker_stack(const char *arg, size_t *huge_worker_stack_size)
+{
+ size_t worker_stack_size;
+ char *end;
+ if (arg == NULL || arg[0] == '\0') {
+ *huge_worker_stack_size = WORKER_STACK_SIZE_FROM_OS;
+ return 0;
+ }
Looks good. Minor nit if you do another version.
Please put blank line after declarations.
Thanks. Hopefully another version won't be required, but if so I'll
make that change.