[PATCH v3] eal: allow worker lcore stacks to be allocated from hugepage memory
Don Wallwork
donw at xsightlabs.com
Mon May 16 22:29:47 CEST 2022
On 5/16/2022 4:28 PM, Stephen Hemminger wrote:
> On Mon, 16 May 2022 15:50:04 -0400
> Don Wallwork <donw at 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.
More information about the dev
mailing list