Re: [PATCH v3] eal: allow worker lcore stacks to be allocated from hugepage memory

2022-05-16 Thread Don Wallwork
On 5/16/2022 4:28 PM, Stephen Hemminger wrote: On Mon, 16 May 2022 15:50:04 -0400 Don Wallwork 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') {

Re: [PATCH v3] eal: allow worker lcore stacks to be allocated from hugepage memory

2022-05-16 Thread Stephen Hemminger
On Mon, 16 May 2022 15:50:04 -0400 Don Wallwork 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 = WO